mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 17:07:21 +00:00
Improved how the AI remembers its earlier tool calls (#1185)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
0885862150
commit
382db4b8d0
22 files changed
+1323
-24
No files matched your search
@@ -241,6 +241,7 @@ public sealed class ToolCallingLoop(ILogger<ToolCallingLoop> logger) : IToolCall
|
||||
context.ChatThread.RequireDataSecurity(outcome.RequiredDataSecurity);
|
||||
context.ChatThread.RequireOutboundDataRestriction(outcome.RequiredOutboundDataRestriction);
|
||||
context.ChatThread.RuntimeWebAddressesFromTools.UnionWith(outcome.ReturnedWebAddresses);
|
||||
context.CurrentAssistantContent?.KeepWebAddressesFromTools(outcome.ReturnedWebAddresses);
|
||||
toolSources.MergeSources(outcome.Sources);
|
||||
toolPassages.MergePassages(outcome.Passages);
|
||||
await context.AddToolInvocationAsync(outcome.Trace);
|
||||
|
||||
Reference in new issue
Block a user