-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat: Support custom default agent #5313
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
base: dev
Are you sure you want to change the base?
Conversation
defaultAgent fielddefault_agent field in config
🤔 Maybe some AI-generated error code
I've searched through the repo for the string "build" and replaced instances with the default agent from the global config. The `cfg.default_agent` is marked as non-null (with `!`) since a default value is set.
default_agent field in config|
@rekram1-node I added a |
|
thanks! ill have to give it a test |
|
/review |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
/review |
|
lgtm |
| return merged | ||
| } | ||
|
|
||
| function firstPrimaryAgent(agents: Record<string, Agent>): string { |
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.
shouldn't it still default to build if it is enabled tho, rather than arbitrary first 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.
done
|
Wait I found several places (e.g. desktop app) need to be updated |
Fix #4443.
This pr is intend to replace #4447 since it seems buggy.