Skip to content

Commit 44f82a5

Browse files
committed
tiktoken import
1 parent d167c3c commit 44f82a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,18 @@ jobs:
6969
- name: Windows CLI Package
7070
if: ${{matrix.os == 'windows-latest'}}
7171
run: |
72-
pyinstaller discordai/command_line.py --console --onefile --name=discordai --add-binary='discordai/bot/cogs;discordai/bot/cogs' --hidden-import=openai --collect-data=discordai_modelizer
72+
pyinstaller discordai/command_line.py --console --onefile --name=discordai --add-binary='discordai/bot/cogs;discordai/bot/cogs' --hidden-import=openai --hidden-import=tiktoken --collect-data=discordai_modelizer
7373
Compress-Archive -Path dist\*discordai* -DestinationPath discordai-windows.zip
7474
- name: Mac CLI Package
7575
if: ${{matrix.os == 'macos-latest'}}
7676
run: |
77-
pyinstaller discordai/command_line.py --console --onefile --name=discordai --add-data='discordai/bot/cogs:discordai/bot/cogs' --hidden-import=openai --hidden-import=configparser --collect-data=discordai_modelizer --collect-data=aiohttp --collect-data=certifi
77+
pyinstaller discordai/command_line.py --console --onefile --name=discordai --add-data='discordai/bot/cogs:discordai/bot/cogs' --hidden-import=openai --hidden-import=tiktoken --hidden-import=configparser --collect-data=discordai_modelizer --collect-data=aiohttp --collect-data=certifi
7878
zip -j discordai-macos.zip dist/*discordai*
7979
chmod +x dist/*discordai*
8080
- name: Linux CLI Package
8181
if: ${{matrix.os == 'ubuntu-latest'}}
8282
run: |
83-
pyinstaller discordai/command_line.py --console --onefile --name=discordai --add-binary='discordai/bot/cogs:discordai/bot/cogs' --hidden-import=openai --collect-data=discordai_modelizer
83+
pyinstaller discordai/command_line.py --console --onefile --name=discordai --add-binary='discordai/bot/cogs:discordai/bot/cogs' --hidden-import=openai --hidden-import=tiktoken --collect-data=discordai_modelizer
8484
zip -j discordai-linux.zip dist/*discordai*
8585
chmod +x dist/*discordai*
8686
# Upload

0 commit comments

Comments
 (0)