From 84d774ea34f1bc589ba04966840bed33eb4440e9 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Tue, 8 Aug 2023 23:00:40 -0700 Subject: [PATCH] Retain desktop builds for 3 days to allow user tests Upgrade minimum tiktoken version to work for encoding gpt4 --- .github/workflows/build_desktop.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_desktop.yml b/.github/workflows/build_desktop.yml index df2da3ea..845487e8 100644 --- a/.github/workflows/build_desktop.yml +++ b/.github/workflows/build_desktop.yml @@ -110,4 +110,4 @@ jobs: with: name: khoj_dev_amd64.${{matrix.extension}} path: dist/khoj_dev_amd64.${{matrix.extension}} - retention-days: 1 + retention-days: 3 diff --git a/pyproject.toml b/pyproject.toml index 8b0b45d5..1ebda7f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ dependencies = [ "fastapi == 0.77.1", "jinja2 == 3.1.2", "openai >= 0.27.0", - "tiktoken >= 0.3.0", + "tiktoken >= 0.3.2", "tenacity >= 8.2.2", "pillow == 9.3.0", "pydantic >= 1.10.10",