This commit is contained in:
Timothy Jaeryang Baek 2024-12-28 16:42:43 -08:00
parent fcaeb2f539
commit e6e8978f78

View File

@ -157,6 +157,9 @@ async def generate_chat_completion(
)
chat_completion = generate_chat_completion
async def chat_completed(request: Request, form_data: dict, user: Any):
if not request.app.state.MODELS:
await get_all_models(request)