test(agent): align loop regression test with context-based tool execution

This commit is contained in:
mosir 2026-03-05 10:10:45 +08:00
parent fac3d6ac6f
commit 2ad43dbd3c

View file

@ -507,9 +507,6 @@ func TestRunLLMIteration_MessageOnlyToolCallsStopAfterOneRound(t *testing.T) {
t.Fatal("No default agent found") t.Fatal("No default agent found")
} }
al.beginRoundForMessageTool(agent)
al.updateToolContexts(agent, "telegram", "chat-1")
_, iteration, err := al.runLLMIteration( _, iteration, err := al.runLLMIteration(
context.Background(), context.Background(),
agent, agent,