Replies: 3 comments
-
@nea I tried it with using deepseek-r1:8b, it does work.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, seems to me like the used model |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ahoy @marcusschiesser , yes, it is about the Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
When working on the https://ts.llamaindex.ai/docs/llamaindex/guide/agents/4_agentic_rag tutorial to create an Agent RAG, without OpenAI but with Ollama (command-r7g) locally, the solution does not work, as the required input for the
QueryEngineTool
is missing theInput:
keyword, looked for in react.ts#L99extractToolUse
.By my tests, I was able to reproduce thoughts as
which can be captured by making "Input:" optional, such as:
/\s*Thought: (.*?)\nAction: ([a-zA-Z0-9_]+).*?\.*[Input:]*.*?(\{.*?\})/s
This worked fine for me, and I do not see a breaker to the previous logic. If you agree, I could create a PR or you just change it yourself.
Or am I missing something?
Thanks a lot in advance for your help
To Reproduce
Code to reproduce the behavior:
Expected behavior
Tool calls work fine with input
Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions