refac: switch to meta and params, remove source
This commit is contained in:
1 parent
7ccef3e77a
commit
f21c8626d6
12 files changed
+70
-107
No files matched your search
@@ -52,9 +52,7 @@ app.state.config = AppConfig()
|
||||
|
||||
app.state.config.ENABLE_MODEL_FILTER = ENABLE_MODEL_FILTER
|
||||
app.state.config.MODEL_FILTER_LIST = MODEL_FILTER_LIST
|
||||
app.state.MODEL_CONFIG = [
|
||||
model.to_form() for model in Models.get_all_models_by_source("openai")
|
||||
]
|
||||
app.state.MODEL_CONFIG = Models.get_all_models()
|
||||
|
||||
|
||||
app.state.config.ENABLE_OPENAI_API = ENABLE_OPENAI_API
|
||||
|
||||
Reference in new issue
Block a user