Replies: 1 comment
-
|
the correct usage : |
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
Uh oh!
There was an error while loading. Please reload this page.
-
[Discussion] What am I missing? ReActAgent.from_tools() not working in LlamaIndex 0.13.x+
Hi LlamaIndex community! 👋
I'm trying to upgrade from LlamaIndex 0.12.x to 0.13.6+ but running into issues with
ReActAgent.from_tools(). I'm sure I'm missing something obvious, but could use some guidance.What I'm trying to do
I have existing code that works perfectly in LlamaIndex 0.12.x:
What's happening
When I upgrade to 0.13.6+, I get:
Environment
What I think I know
From reading the docs, I see there's a new workflow-based approach for ReAct agents introduced around 0.10.43. The workflow examples look great for complex use cases!
But I'm confused because:
from_tools()patternMy questions
Was
ReActAgent.from_tools()intentionally removed in 0.13.x? Or am I importing from the wrong place?Is there a simple equivalent for the old
from_tools()pattern that doesn't require building a full workflow?Is there migration documentation I missed that shows how to convert from the old API to the new one?
Should I stick with 0.12.x for now? Or is there an easy upgrade path I'm not seeing?
What I've tried
from_toolsmethod)Context
This is affecting integration packages like
agentc-llamaindexthat requirellama-index ^0.13.4but still use the classic API pattern. So I'm probably not the only one running into this.Any guidance would be much appreciated! I'm sure there's something simple I'm missing. 🙏
Example of what I'm looking for
Ideally something like:
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions