chore: format
This commit is contained in:
1 parent
f71e9570c0
commit
5c62cc0517
99 files changed
+12026
-5908
No files matched your search
@@ -1108,9 +1108,7 @@ async def chat_completion(
|
||||
model = request.app.state.MODELS[model_id]
|
||||
model_info = await Models.get_model_by_id(model_id)
|
||||
missing_base_model = bool(
|
||||
model_info
|
||||
and model_info.base_model_id
|
||||
and model_info.base_model_id not in request.app.state.MODELS
|
||||
model_info and model_info.base_model_id and model_info.base_model_id not in request.app.state.MODELS
|
||||
)
|
||||
|
||||
if missing_base_model and ENABLE_CUSTOM_MODEL_FALLBACK:
|
||||
|
||||
Reference in new issue
Block a user