mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
section 13: Phase 13: Session status from the client type, compaction-dr
This commit is contained in:
1 parent
717536c5a6
commit
2d4abe79e1
21 files changed
+194
-100
No files matched your search
@@ -59,7 +59,7 @@ describe('resolveDefaultSessionAgent', () => {
|
||||
|
||||
it('ignores agents that are not primary or all mode', () => {
|
||||
const agents = [
|
||||
{ id: 'sub-agent', name: 'sub-agent', mode: 'secondary' },
|
||||
{ id: 'sub-agent', name: 'sub-agent', mode: 'subagent' },
|
||||
{ id: 'build', name: 'build', mode: 'primary' },
|
||||
]
|
||||
expect(resolveDefaultSessionAgent(agents, true)).toBe('build')
|
||||
|
||||
Reference in new issue
Block a user