-
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
Open
observerw
wants to merge
19
commits into
sst:dev
Choose a base branch
from
observerw:dev
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+148
−25
Open
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5c6479f
feat(config): Add `default_agent` field (https://github.com/sst/openc…
observerw d98cd80
fix: Remove duplicate code
observerw 1f2379b
fix: update config tests
observerw a815b5c
feat: replace hard-coded "build" agent with default agent
observerw 156b88a
feat: add `default` field in agent info
observerw f541a8f
feat: display default in `agent list` command
observerw 8815589
feat: Add default agent fields to sdk types
observerw 4d8cc3f
feat: use default agent as the current agent when open TUI
observerw c7ec35f
fix: fallback to first primary agent when default_agent invalid
observerw eef3cbb
feat: select default agent for ACP session loading
observerw 020bbbc
Apply suggestions from code review
observerw a6ef113
Update packages/opencode/src/acp/agent.ts
observerw 3f266ea
style: reformat code
observerw c250adb
feat: add validation
observerw 12a082d
fix: prioritize build as the default primary agent
observerw a8a0bff
fix: set default current mode id for acp
observerw 5e23fec
feat: set default agent for `SessionPrompt.command`
observerw 15b9f48
feat: set default agent for desktop app
observerw 8fbed8a
Merge branch 'sst:dev' into dev
observerw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: fallback to first primary agent when default_agent invalid
- Loading branch information
commit c7ec35f5c41d95332adf5d53a40a5cde212901cc
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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