feat: update to persistent config

This commit is contained in:
Jun Siang Cheah committed 2024-05-17 13:51:17 +08:00
1 parent 0665703401
commit 5d3eddf7e9
7 files changed
+89 -8

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ with open(LITELLM_CONFIG_DIR, "r") as file:
app.state.ENABLE = ENABLE_LITELLM
app.state.CONFIG = litellm_config
app.state.MODEL_CONFIG = MODEL_CONFIG.get("litellm", [])
app.state.MODEL_CONFIG = MODEL_CONFIG.value.get("litellm", [])
# Global variable to store the subprocess reference
background_process = None