mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-07-09 14:08:25 +02:00
Add files via upload
This commit is contained in:
@@ -877,6 +877,9 @@ func runEinoADKAgentLoop(ctx context.Context, args *einoADKRunLoopArgs, baseMsgs
|
|||||||
if toolCallID != "" {
|
if toolCallID != "" {
|
||||||
removePendingByID(toolCallID)
|
removePendingByID(toolCallID)
|
||||||
if _, loaded := toolResultSent.LoadOrStore(toolCallID, struct{}{}); loaded {
|
if _, loaded := toolResultSent.LoadOrStore(toolCallID, struct{}{}); loaded {
|
||||||
|
// ToolInvokeNotify 可能已推过 tool_result(如 execute 流式包装里 Fire 仅携带截断后的 stdout),
|
||||||
|
// 此处仍应用 ADK Tool 消息中的完整内容刷新去重基准,避免模型复述全文时与截断串比对失败而重复展示「助手输出」。
|
||||||
|
recordPendingExecuteStdoutDup(toolName, content, isErr)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
data["toolCallId"] = toolCallID
|
data["toolCallId"] = toolCallID
|
||||||
|
|||||||
Reference in New Issue
Block a user