-
Notifications
You must be signed in to change notification settings - Fork 26
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
chore: cleanup #149
chore: cleanup #149
Conversation
if vendor == "openai": | ||
return [ | ||
{ | ||
"type": "image_url", | ||
"image_url": { | ||
"url": f"data:image/jpeg;base64,{image}", | ||
}, | ||
} | ||
for image in images | ||
] | ||
else: | ||
raise ValueError(f"Vendor {vendor} not supported") |
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.
TODO: Add an Issue for covering more vendors, mark Good first issue
.
…hon modules for testing refactor(import_test): update test_can_import_all_modules_pathlib to use rai_python_modules for improved module import testing
…sses to simplify the codebase and improve maintainability
942d7e0
to
002b732
Compare
@@ -68,6 +68,7 @@ class PubRos2MessageToolInput(BaseModel): | |||
|
|||
# --------------------- Tools --------------------- | |||
class Ros2BaseTool(BaseTool): | |||
# TODO: Make the decision between rclpy.node.Node and RaiNode |
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.
FYI: using RaiNode
here causes cicrular import error
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.
Yeah, had that problem. Importing under
if TYPECHECKING:
import ... RaiNode
# and then
node: "rclpy.node.Node | RaiNode"
Does not work either. Nonetheless RaiNode is better suited here.
Co-authored-by: Kajetan Rachwał <[email protected]>
Co-authored-by: Kajetan Rachwał <[email protected]>
Purpose
Cleanup
Proposed Changes
Features:
Chores:
Issues
Testing