-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fix #719
Fix #719
Conversation
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.
❌ Changes requested. Reviewed everything up to 6ddcc53 in 33 seconds
More details
- Looked at
562
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. python/examples/advanced_agents/Siri_tools/openai/main.py:332
- Draft comment:
Remove theprint(function_call)
statement to clean up the code. - Reason this comment was not posted:
Confidence changes required:50%
Theprint(function_call)
statement inhandle_function_call
is unnecessary and should be removed to clean up the code.
Workflow ID: wflow_GJzB59FreOVbBi1S
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
tags: t.Optional[t.List[TagType]] = None, | ||
) -> t.List[t.Dict]: | ||
""" | ||
Get composio tools wrapped as OpenAI `ChatCompletionToolParam` objects. |
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.
The get_realtime_tools
function is documented to return ChatCompletionToolParam
objects but returns a list of dictionaries instead. Consider updating the return type or the function implementation to match the documentation.
context = f"New email from {sender} with subject: {subject}" | ||
asyncio.run(agent.handle_event(context)) | ||
|
||
def get_slack_channel_name(channel_id): |
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.
Consider adding exception handling for the execute_action
calls in get_slack_channel_name
, get_slack_user_name
, and get_current_user_info
to handle potential API call failures.
This comment was generated by github-actions[bot]! JS SDK Coverage Report📊 Coverage report for JS SDK can be found at the following URL: 📁 Test report folder can be found at the following URL: |
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.
👍 Looks good to me! Incremental review on 74e3413 in 15 seconds
More details
- Looked at
35
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. python/plugins/openai/composio_openai/toolset.py:142
- Draft comment:
The docstring incorrectly states that the function returnsChatCompletionToolParam
objects. It should be updated to reflect that it returns a list of dictionaries. - Reason this comment was not posted:
Comment was on unchanged code.
Workflow ID: wflow_hmPzBaFf7ee1GC35
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Adds
RealtimeAgent
for real-time OpenAI API interaction and enhancestoolset.py
with real-time tool wrapping.RealtimeAgent
inmain.py
for real-time audio and text interaction with OpenAI API.RealtimeAgent
manages audio input/output, WebSocket connection, and function calls for emails and Slack messages.get_realtime_tools()
intoolset.py
to wrap tools as OpenAIChatCompletionToolParam
objects for real-time use.main.py
.This description was created by for 74e3413. It will automatically update as commits are pushed.