fix: remove amp archive flag (#5036)

This commit is contained in:
Jinjing
2026-06-09 11:55:09 -07:00
committed by GitHub
parent 9369708f6b
commit ffe96c8f06
2 changed files with 30 additions and 1 deletions
+30
View File
@@ -94,6 +94,36 @@ describe('planCommitMessageGeneration', () => {
})
})
it('plans Amp execute generation without the removed archive flag', () => {
const result = planCommitMessageGeneration(
{
agentId: 'amp',
model: 'large',
thinkingLevel: 'medium'
},
'PROMPT'
)
expect(result).toEqual({
ok: true,
plan: {
binary: 'amp',
args: [
'--execute',
'--no-notifications',
'--no-ide',
'--no-jetbrains',
'--mode',
'large',
'--effort',
'medium'
],
stdinPayload: 'PROMPT',
label: 'Amp'
}
})
})
it('allows discovered dynamic models that are not in the seed catalog', () => {
const result = planCommitMessageGeneration(
{