Skip to content

Fix/sql agent result contract#119

Merged
hung12ct merged 2 commits into
mainfrom
fix/sql-agent-result-contract
May 31, 2026
Merged

Fix/sql agent result contract#119
hung12ct merged 2 commits into
mainfrom
fix/sql-agent-result-contract

Conversation

@hung12ct
Copy link
Copy Markdown
Owner

No description provided.

hung12ct added 2 commits May 31, 2026 17:41
The OnSQL hook fired without row-count or execution time even though
SQLResult already carried both. Add RowCount + ExecutionMs to
SQLQueryEvent and populate them at the makeEmitFunc chokepoint.
…tured rows

The tool described itself as returning structured data but returned only
the sub-agent's prose answer, so a parent agent looped trying to extract
verbatim rows for export. Describe it honestly (written answer, not raw
rows) and attach the captured SQLResult on tools.Result.Structured for
host integrations.
@hung12ct hung12ct merged commit f919003 into main May 31, 2026
1 check passed
@hung12ct hung12ct deleted the fix/sql-agent-result-contract branch May 31, 2026 10:44
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