- Issue created by @gxleano
- Merge request !607Issue #3524924: Improve handling of RAG/tool output to properly pass as tool... → (Open) created by gxleano
- 🇩🇪Germany marcus_johansson
I don't think this is going to work for 1.0.x.
We have added normalization of tools and tool results in 1.1.x and its a little bit more complex - the big issue is that different providers does different ways of expressing tools and tools history. Some requires the tool, to be added into the payload (Mistral for instance), not just the tool result. Some does not set the tool message using the tool role, but the user or assistant role with extra parameters (Bedrock for instance). Many require a unique tool_id to be set on the assistant message taking the pick and the role message. etc. So those would all break with this change.
Also it would change the way it works for anyone having it working, on a patch, meaning breaking changes, even if it works better. in general So if we can somehow make it backwards compabitle in 1.0.x, it should be an option that is disabled on older assistants.
We have RAG search working the way stated in this issue in 1.1.x and that release is hopefully just some weeks away from production release, so I would argue to wait to use that?
- 🇪🇸Spain gxleano Cáceres
Testing
1.1.x
and this issue will be handled there with tooling approach, so I will close it.Thanks Marcus!