helloparthshah commited on
Commit
bc17645
·
1 Parent(s): 0487f91

fixing error where no response

Browse files
Files changed (1) hide show
  1. src/manager/manager.py +2 -0
src/manager/manager.py CHANGED
@@ -286,6 +286,8 @@ class GeminiManager:
286
  "content": "No response from the model.",
287
  "metadata": {"title": "No response from the model."}
288
  })
 
 
289
 
290
  # Attach the llm response to the messages
291
  if response.text is not None and response.text != "":
 
286
  "content": "No response from the model.",
287
  "metadata": {"title": "No response from the model."}
288
  })
289
+ yield messages
290
+ return messages
291
 
292
  # Attach the llm response to the messages
293
  if response.text is not None and response.text != "":