Update main.py
Browse files
main.py
CHANGED
@@ -582,6 +582,7 @@ async def chat_completions(request: ChatRequest, req: Request, api_key: str = De
|
|
582 |
"estimated_cost": estimated_cost
|
583 |
},
|
584 |
}
|
|
|
585 |
if analysis_result:
|
586 |
final_response["choices"][0]["message"]["content"] += f"\n\n**Image Analysis:** {analysis_result}"
|
587 |
|
|
|
582 |
"estimated_cost": estimated_cost
|
583 |
},
|
584 |
}
|
585 |
+
|
586 |
if analysis_result:
|
587 |
final_response["choices"][0]["message"]["content"] += f"\n\n**Image Analysis:** {analysis_result}"
|
588 |
|