datdevsteve commited on
Commit
837e5cd
·
verified ·
1 Parent(s): afae4f8

Update nivra_agent.py

Browse files
Files changed (1) hide show
  1. nivra_agent.py +7 -3
nivra_agent.py CHANGED
@@ -180,14 +180,18 @@ Image analysis failed due to a technical issue.
180
  """
181
 
182
  final_prompt = f"""
183
- IMAGE TOOL OUTPUT:
 
 
184
  {tool_output}
185
 
186
- USER CONTEXT:
187
  {hint_text}
188
 
189
- Provide structured medical image assessment using the required format.
 
190
  """
191
 
 
192
  return call_groq(final_prompt)
193
 
 
180
  """
181
 
182
  final_prompt = f"""
183
+ You are a medical AI assistant.
184
+
185
+ Vision tool result:
186
  {tool_output}
187
 
188
+ User context:
189
  {hint_text}
190
 
191
+ Respond STRICTLY in the medical format.
192
+ Keep description under 3 sentences.
193
  """
194
 
195
+
196
  return call_groq(final_prompt)
197