fix(agents): sync Kimi and Grok context windows with CPA core
This commit is contained in:
1 parent
b312b904a2
commit
51ea7fd69f
11 files changed
+218
-37
No files matched your search
@@ -175,6 +175,23 @@ describe('agent configuration update action', () => {
|
||||
})).toBe('update');
|
||||
});
|
||||
|
||||
test.each<AgentConfigurationClientId>(['kimi-code', 'grok-build'])(
|
||||
'%s updates an applied configuration whose CPA context catalog is stale',
|
||||
(client) => {
|
||||
expect(resolveAgentConfigurationAction({
|
||||
client,
|
||||
modificationState: 'applied',
|
||||
configurationSynchronized: false,
|
||||
selectedModel: 'model-a',
|
||||
appliedModel: 'model-a',
|
||||
oauthConfiguration: false,
|
||||
appliedOauthConfiguration: false,
|
||||
modelMappings: { opus: '', sonnet: '', haiku: '' },
|
||||
appliedModelMappings: { opus: '', sonnet: '', haiku: '' },
|
||||
})).toBe('update');
|
||||
},
|
||||
);
|
||||
|
||||
test('Codex also updates when only OAuth configuration changes', () => {
|
||||
expect(resolveAgentConfigurationAction({
|
||||
client: 'codex',
|
||||
|
||||
Reference in new issue
Block a user