mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-08 01:43:07 +00:00
fix(codex): support dynamic reasoning efforts (#1012)
* fix(codex): support model-reported reasoning efforts * fix(web): prevent service worker edge caching * ci: retrigger stuck Actions run * fix(codex): accept dynamic reasoning effort values * fix(web): restore reasoning effort on model switch failure
This commit is contained in:
@@ -123,7 +123,7 @@ describe('appServerConfig', () => {
|
||||
it('passes model reasoning effort via thread config', () => {
|
||||
const params = buildThreadStartParams({
|
||||
cwd: '/workspace/project',
|
||||
mode: { permissionMode: 'default', modelReasoningEffort: 'xhigh', collaborationMode: 'default' },
|
||||
mode: { permissionMode: 'default', modelReasoningEffort: 'ultra', collaborationMode: 'default' },
|
||||
mcpServers
|
||||
});
|
||||
|
||||
@@ -133,7 +133,7 @@ describe('appServerConfig', () => {
|
||||
args: ['mcp']
|
||||
},
|
||||
developer_instructions: codexSystemPrompt,
|
||||
model_reasoning_effort: 'xhigh'
|
||||
model_reasoning_effort: 'ultra'
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user