-
Notifications
You must be signed in to change notification settings - Fork 45k
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(backend): fix get agent db function #9350
base: dev
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for auto-gpt-docs-dev canceled.
|
✅ Deploy Preview for auto-gpt-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for auto-gpt-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -620,6 +625,8 @@ def remove_credentials(obj): | |||
del obj["credentials"] | |||
if "creds" in obj: |
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.
This should probably be a greater utility function that gets called :)
we can probably also strip anything that has secret = true
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
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.
Please check and update frontend types if applicable.
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.
Generally a good idea to push raises out the route layer.
Fix the merge conflicts and I'll reapprove
Changes 🏗️
get_agent
database function.get_agent
function to include theuser_id
in the response./download/agents/{store_listing_version_id}
endpoint.user_id
from the graph data response for the/download/agents/{store_listing_version_id}
endpoint.Checklist 📋
For code changes: