remove litellm when pack

This commit is contained in:
bridge
2025-11-22 00:41:13 +08:00
parent 85764cfa2e
commit 52d953f565
3 changed files with 88 additions and 14 deletions

View File

@@ -105,6 +105,9 @@ $argsList = @(
"--add-data", "${StaticPath};static", # Configs -> _internal/static (backup)
# Excludes
"--exclude-module", "litellm", # Optional LLM client with heavy dependencies
"--exclude-module", "google", # Google Cloud/AI libs
"--exclude-module", "scipy", # Scientific computing
"--exclude-module", "pygame", # Exclude heavy library not needed for server
"--exclude-module", "matplotlib", # Plotting library often pulled by pandas
"--exclude-module", "tkinter", # Python default GUI
@@ -128,9 +131,7 @@ $argsList = @(
"--hidden-import", "tiktoken_ext.openai_public",
"--hidden-import", "tiktoken_ext",
"--collect-all", "tiktoken",
"--collect-all", "litellm",
"--copy-metadata", "tiktoken",
"--copy-metadata", "litellm"
"--copy-metadata", "tiktoken"
)
if (Test-Path $RuntimeHookPath) {