Branch: refs/heads/gh-readonly-queue/master/pr-7121-0f7005959478c8c65bcf29f49ca297e48f7839cd
Home:
https://github.com/google/syzkaller
Commit: c2182ef46fd503a47b57c18d4bbe6efd0913dd1e
https://github.com/google/syzkaller/commit/c2182ef46fd503a47b57c18d4bbe6efd0913dd1e
Author: Alexander Potapenko <
gli...@google.com>
Date: 2026-04-27 (Mon, 27 Apr 2026)
Changed paths:
M pkg/aflow/func_tool_test.go
M pkg/aflow/llm_agent.go
M pkg/aflow/testdata/TestSummaryWindow.llm.json
M pkg/aflow/testdata/TestSummaryWindow.trajectory.json
Log Message:
-----------
pkg/aflow: implement tool call loop detection
Add history tracking for tool calls to LLMAgent to detect and prevent
infinite loops.
The agent now maintains a rolling window of the last 20 tool calls and
prevents executing the same tool call with identical arguments if it has
already been called 3 times within that window.
Updates tests and test data to reflect this change.
To unsubscribe from these emails, change your notification settings at
https://github.com/google/syzkaller/settings/notifications