So i want to integrate my RAG and local knowlegebase and Tools and MCP servers more…
- User
So i want to integrate my RAG and local knowlegebase and Tools and MCP servers more deeply with my local (and remote!) LLMs. In order to do so I need the abitily to inject content into both the (by default) hidden Thinking Parts end-thinking of the reasoning models output as well as into the final output e.g. model calls python code for rendering an image of a graph --> this code gets executed in the sandbox and the url to the generated image placed in the output at that point. (in the latter case this is a non-blocking call as a placeholder (image-url) can be inserted and later replaced while the model continues token generation, in other cases particularly in the thinking section the subsequent tokens generated depend on the returned values inserted into the thinking stream and the execution of the LLM must thus be paused awaiting the returns. One example where both modalities come into play aka are mixed would be if the model were prompted to provide the correct way of installing a software package on a linux cli and had terminal access to that CLI. It could then spawn multiple background processes or a screen or tmux session to check multiple commands in parallel aka apt get / rpm / yum / dpkg / and so, on or run multiple relevant commands sysinfo -v etc to understand the exact environment it is dealing with. Here the model should generate many candidate solutions in its reasoning process with all of them being interpreted as tool calls and executed simultaneously in order for them to then be injected back into the stream when the function call return values arrive with this being an embarrassingly parallel type of task ....
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.