Tool Call caching in ram breaks the model

#9
by Dreadbyte - opened

Too many tool calls in a cached situation, like using it as Chat Model with a n8n Memory Node like I run it as a retrieval tool for information blocks that get parsed through an n8n workflow to the user, will in long let the model "shit itself" it will reason but not send the answer.

Can reliably replicate this problem with my n8n setup.

Discord message as input -> Ai Node sends it to model -> Model has tools such as "retrieve information from link XY" User questions, retrieved data blocks and the models thinking/answer will be cached for faster access on follow up questions. Models like Qwen 3.6, Qwen 3.8, all current Gemmas and Ornith 1.5 35b dont have this problem even after longer Sessions. Kolibri starts answering that triggers Errors in n8n.

The problem doesn't occur after the first message but after 10/15 depending on the length.

Sign up or log in to comment