Commit a5210aaa authored by Your Name's avatar Your Name

Fix indentation error in main.py

parent 44e9fb65
...@@ -9214,7 +9214,7 @@ async def rotation_chat_completions(request: Request, body: ChatCompletionReques ...@@ -9214,7 +9214,7 @@ async def rotation_chat_completions(request: Request, body: ChatCompletionReques
logger.error(f"Available rotations: {list(config.rotations.keys())}") logger.error(f"Available rotations: {list(config.rotations.keys())}")
raise HTTPException( raise HTTPException(
status_code=404, status_code=404,
detail=f"User rotation '{actual_model}' not found. Available: {list(handler.rotations.keys())}" detail=f"Rotation '{body.model}' not found. Available: {list(config.rotations.keys())}"
) )
logger.info(f"Model '{body.model}' found in rotations") logger.info(f"Model '{body.model}' found in rotations")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment