-
Notifications
You must be signed in to change notification settings - Fork 39
feat: various enhancements #508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5d8ee9c
to
7e0cb26
Compare
docs/developer_guide/tools.md
Outdated
] | ||
``` | ||
|
||
### Using Tools in RAI Agent (Distributed Setup) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would elaborate more on what distributed setup means
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added todo
@coderabbitai full review |
This comment was marked as outdated.
This comment was marked as outdated.
docs/demos/rosbot_xl.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add some hints about the models. I think to make this demo to work, the requirement is that complex_model
has to be set to VLM, that supports tool calling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
st.set_page_config( | ||
page_title="RAI ROSBotXL Demo", | ||
page_icon=":robot:", | ||
) | ||
|
||
|
||
@st.cache_resource | ||
def initialize_agent(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about using ROS2Context?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't be done in this context as ROS2Context would also shutdown the rclpy on the return of initialize_agent
chore: import updates Co-authored-by: Bartłomiej Boczek <[email protected]>
358a620
to
3cd8a01
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maciejmajek
Tested again with prompts from the docs and they worked fine.
One thing that I've noticed is that recursion_limit
should be increased, because it's too low. After it's fixed I'm fine with merging this PR.
langgraph.errors.GraphRecursionError: Recursion limit of 25 reached without hitting a stop condition. You can increase the limit by setting the `recursion_limit` config key. For troubleshooting, visit:
@boczekbartek thank you for the review. Here is a RFC regarding imports |
Purpose
This PR enhances the RAI framework with improved tool abstractions and action handling, legacy tool removal, while also modernizing the ROSBotXL demo.
Proposed Changes
Major Changes
Demo Simplification
Code Refactoring
GetROS2ImageConfiguredTool
,GetROS2TransformConfiguredTool
)Tool Improvements
CancelROS2ActionTool
Documentation Updates
Testing
Summary by CodeRabbit
Documentation
New Features
Refactoring & Removals
Tests