mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
feat: add codex reasoning effort option (#297)
This commit is contained in:
@@ -84,7 +84,8 @@ export function buildThreadStartParams(args: {
|
||||
} = resolveInstructions(args);
|
||||
const configWithInstructions = {
|
||||
...config,
|
||||
developer_instructions: resolvedDeveloperInstructions
|
||||
developer_instructions: resolvedDeveloperInstructions,
|
||||
...(args.mode.modelReasoningEffort ? { model_reasoning_effort: args.mode.modelReasoningEffort } : {})
|
||||
};
|
||||
|
||||
const params: ThreadStartParams = {
|
||||
|
||||
Reference in New Issue
Block a user