davsclaus commented on code in PR #29962:
URL: https://github.com/apache/camel/pull/29962#discussion_r4575292220
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/RepeatedToolCalls.java:
##########
@@ -86,6 +91,24 @@ public synchronized JsonObject repeatOf(ToolDescriptor tool,
Map<String, ?> args
note.put("repeated", true);
note.put("tool", tool.name());
note.put("timesAsked", times);
+ JsonObject miss = misses.get(key(tool.name(), args,
tool.deterministicWhen()));
Review Comment:
Done in 83851a0b1858: `repeatOf` computes the key once.
_Claude Code on behalf of davsclaus_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]