Add the possibility to add default information tools to tool result memory

Created on 14 May 2025, about 19 hours ago

Problem/Motivation

Currently the default information tools are added into the system message, which was the initial part of the functionality, but we have found another use case where another way of doing it would be useful.

So the initial idea was that for instance something like the Field Agent would need to know what field types exists, that would be some information that needs to be retained through the whole process as pure dynamic information knowledge.

However, since we have tokens in the agent, you might actually want to trigger an actual tool that does changes and retain that has memory of a tool that has been run. This means that it will be kept in the chat history of the agent.

We already have available_on_loop, that says to inject into system message on one specific instance, but instead we could reutilize this to be used to inject into memory.

Steps to reproduce

Proposed resolution

Change so when available_on_loop is set, the tool is run, a faked tool_id is set and this is added into the chat history on that loop.

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024