[google/syzkaller] 03202d: pkg/aflow: improve duplicate tool call warning mes...

0 views
Skip to first unread message

Aleksandr Nogikh

unread,
Jul 16, 2026, 9:18:58 AM (5 days ago) Jul 16
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-7613-8f30cfd7cbc2f9a2dae05bc8261711530ab5eea8
Home: https://github.com/google/syzkaller
Commit: 03202d154ace7e0b70fa77314ef27466b0567340
https://github.com/google/syzkaller/commit/03202d154ace7e0b70fa77314ef27466b0567340
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-07-16 (Thu, 16 Jul 2026)

Changed paths:
M pkg/aflow/llm_agent.go

Log Message:
-----------
pkg/aflow: improve duplicate tool call warning message

Make the warning message for duplicate tool calls more explicit and
forceful. The previous message asked the agent to "try a different
approach", which sometimes led the agent to alternate between two
different tools, getting stuck in an infinite loop while ignoring the
warning.

The new message explicitly forbids the agent from requesting the same
information again and instructs it to synthesize the information it
already has in its conversation history.

Also, extract the warning message to a constant to avoid duplication
and ensure that the SYSTEM WARNING text correctly mirrors the specific
duplicate error generated (including the critical 5th-attempt warning).



To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications

Aleksandr Nogikh

unread,
Jul 16, 2026, 9:31:44 AM (5 days ago) Jul 16
to syzk...@googlegroups.com
Branch: refs/heads/master
Reply all
Reply to author
Forward
0 new messages