I have used Cole Medin’s local-ai-packaged
n8n workflow, customised to use local file uploads.
I have 2 small, simple text documents now uploaded to my Qdrant vector store, just to test accuracy, etc.
Strangely, the first Chat response is always:
< python_tag >tool call: get_christmas_plans()
If I repeat the same Chat question / prompt, it seems to behave “normally”.
When asking a new question/prompt, the 1st response always seems to include some leading text along the lines of (and this was 1 of the responses):
Tool call output: John’s present ideas are:
- Lego Creator Expert - Ferrari 250 GT Berlinetta
- Lego Ideas - Old Fishing Store
This is actually wrong, and if I resubmit the prompt, the leading text is not there and the correct information is pulled from my text files.
I made a mistake earlier. The correct output from the tool call is Ferrari Lego Technic and iPad Mini.
What are these tool calls
? Why do they only seem to happen on the 1st question/prompt?
Information on your n8n setup
- **n8n version: 1.67.1
- **Database (default: SQLite): Postgres + Qdrant
- **n8n EXECUTIONS_PROCESS setting (default: own, main): ???
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- **Operating system: Macbook M1 with macOS 18.1