-
Notifications
You must be signed in to change notification settings - Fork 894
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: Patch instructions and canonical name #1056
Conversation
CI Failure Feedback 🧐(Checks updated until commit 56fcfbf)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
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! Reviewed everything up to 56fcfbf in 17 seconds
More details
- Looked at
28
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. agents-api/agents_api/queries/agents/patch_agent.py:80
- Draft comment:
Ensure that all fields inparams
are correctly handled forNone
values. For example,data.name
,data.about
,data.metadata
,data.model
,data.instructions
, anddata.canonical_name
should be checked forNone
before being added toparams
. This ensures that the SQL query behaves as expected when optional fields are not provided. - Reason this comment was not posted:
Comment did not seem useful.
Workflow ID: wflow_2mFRcopXB2BkEqVp
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Bug fix, Enhancement
Description
Added support for updating
instructions
andcanonical_name
in thepatch_agent
query.Enhanced SQL query logic to handle new fields conditionally.
Updated function call to include new parameters for
instructions
andcanonical_name
.Changes walkthrough 📝
patch_agent.py
Support `instructions` and `canonical_name` in patch_agent
agents-api/agents_api/queries/agents/patch_agent.py
instructions
andcanonical_name
in SQLquery.
instructions
andcanonical_name
.Important
Add
instructions
andcanonical_name
fields to agent update query inpatch_agent.py
.patch_agent.py
, addedinstructions
andcanonical_name
fields to the SQL update query for agents.params
list to includedata.instructions
anddata.canonical_name
.instructions
andcanonical_name
fields in theagents
table based on provided data.This description was created by for 56fcfbf. It will automatically update as commits are pushed.