summaryrefslogtreecommitdiff
path: root/Omni/Test.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-12 21:45:53 -0500
committerBen Sima <ben@bensima.com>2025-12-12 21:45:53 -0500
commit862b10aa05ef66af5a88f307e6209ce10185bbcf (patch)
treed1e0fe0217a0a9e46378d397c745c9cb54775f77 /Omni/Test.hs
parent49f6fe47e19c42b87615dd2d75e53f43331e00ab (diff)
fix: prompt for text response when agent returns empty after tool calls
When the LLM returned empty content after executing tools, the agent would complete with an empty message. Now both agent loops (LLM-based and Provider-based) detect this case and inject a prompt asking the LLM to provide a response to the user.
Diffstat (limited to 'Omni/Test.hs')
0 files changed, 0 insertions, 0 deletions