File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments