Skip to content

Fix agent silently discarding tool results instead of presenting them to the user#17

Merged
copelco merged 3 commits into
mainfrom
force-answer
Apr 17, 2026
Merged

Fix agent silently discarding tool results instead of presenting them to the user#17
copelco merged 3 commits into
mainfrom
force-answer

Conversation

@copelco
Copy link
Copy Markdown
Member

@copelco copelco commented Apr 16, 2026

Adds an explicit instruction to the voter agent's system prompt: after run_sql_query returns, the agent must present the results to the user. Without this, small models (e.g. gemma-4-e4b) sometimes reason that "the user is satisfied" and respond with a generic follow-up prompt rather than displaying the data table returned by the tool.

@copelco copelco changed the title Force answer Fix agent silently discarding tool results instead of presenting them to the user Apr 16, 2026
@copelco copelco marked this pull request as ready for review April 17, 2026 12:18
@copelco copelco merged commit 478c2cb into main Apr 17, 2026
2 checks passed
@copelco copelco deleted the force-answer branch April 17, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant