From 17e2c4e10158f6fb1b147e373bacbbb68d0d6578 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 17 Jun 2024 11:51:56 -0600 Subject: [PATCH 1/2] Make chatbot work with tiktoken hidden import --- .github/workflows/develop.yml | 2 +- .github/workflows/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index c0e2c9e3..d35d581e 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -82,7 +82,7 @@ jobs: run: pip install -r api/requirements.txt pyinstaller==6.6.0 - name: Build flask exe - run: pyinstaller api/app.spec + run: pyinstaller api/app.spec --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext - name: Install dependencies run: npm install diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index afc4a910..e1fefc7c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,7 +82,7 @@ jobs: run: pip install -r api/requirements.txt pyinstaller==6.6.0 - name: Build flask exe - run: pyinstaller api/app.spec + run: pyinstaller api/app.spec --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext - name: Install dependencies run: npm install From 369ceade6b696e581293bdb6cea31e6481c6a136 Mon Sep 17 00:00:00 2001 From: Automated Version Bump Date: Mon, 17 Jun 2024 17:52:21 +0000 Subject: [PATCH 2/2] CI: bumps version to 0.2.4 [skip ci] --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index aa8cd56d..6e355bde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "LinguifAI", - "version": "0.2.3", + "version": "0.2.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "LinguifAI", - "version": "0.2.3", + "version": "0.2.4", "dependencies": { "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", diff --git a/package.json b/package.json index 8519555e..426c27b0 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "name": "Cameron", "email": "cameron.maloney@warriorlife.net" }, - "version": "0.2.3", + "version": "0.2.4", "main": "./public/electron.js", "homepage": "./", "private": true,