mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-10 02:01:40 +00:00
feat(claude): add effort setting parity with model across stack (#353)
Co-authored-by: Xiaoyi <xiaoyizhang@microsoft.com>
This commit is contained in:
@@ -49,6 +49,13 @@ export const claudeCommand: CommandDefinition = {
|
||||
}
|
||||
options.model = model
|
||||
unknownArgs.push('--model', model)
|
||||
} else if (arg === '--effort') {
|
||||
const effort = args[++i]
|
||||
if (!effort) {
|
||||
throw new Error('Missing --effort value')
|
||||
}
|
||||
options.effort = effort
|
||||
unknownArgs.push('--effort', effort)
|
||||
} else if (arg === '--started-by') {
|
||||
options.startedBy = args[++i] as 'runner' | 'terminal'
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user