Add koog module: a tool-calling agent, a strategy graph with a Java node and the Spring Boot starter on Koog 1.3.0, tested against a scripted OpenAI-compatible endpoint
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6FHj1ptP5Fej2eFDo
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
1. The tool throws IllegalArgumentException("Unknown service: nope")
|
||||
agent.run returned: There is no such service.
|
||||
LLM calls: 2
|
||||
what the model was told: tool: Tool with name 'getServiceStatus' failed to execute due to the error: Unknown service: nope!
|
||||
|
||||
2. The model sends {"minutes":"soon"} for an int parameter
|
||||
what the model was told: Tool with name 'error_rate' failed to parse arguments due to the error: Failed to parse literal '"soon"' as an int value at element: $.primitive | JSON input: "soon"
|
||||
|
||||
3. The model calls restartService, which is not registered
|
||||
the history sent back, last two messages:
|
||||
{"role":"assistant","content":"{\"tool_call_id\":\"c1\",\"tool_name\":\"restartService\",\"tool_args\":{\"service\":\"checkout\"}}"}
|
||||
{"role":"user","content":"{\"tool_call_id\":\"c1\",\"tool_name\":\"restartService\",\"tool_result\":\"Tool with name 'restartService' not found in the tool registry. Use one of the available tools.\"}"}
|
||||
|
||||
4. The model answers every request with another tool call, maxIterations(6)
|
||||
AIAgentMaxNumberOfIterationsReachedException
|
||||
LLM calls made before it stopped: 3
|
||||
default maxIterations of an agent you do not configure: 50
|
||||
Reference in New Issue
Block a user