Files
ARTEX/agent
Phantom-IN b66ddd1771 fix(agent): send no tools with the LLM connection test
TestConnection passes an empty Tools slice so the model gets a bare chat
request, but agentcore still appends its background-task tools (TaskOutput,
TaskStop, TaskList, Monitor) unless DisableBackgroundTasks is set. The
request therefore carried four tool definitions, and models answered the
"ping" with a TaskOutput call or tool-like text instead of OK (#526).
Against a local gemma4:e4b the streaming test spent its whole 30 s budget
reasoning about those tools and failed; with them gone it answers OK in
under a second.

Set DisableBackgroundTasks, as goal decomposition already does, and add a
test that checks the request body has no tools.
2026-11-25 19:21:20 +05:30
..
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00