(instructions: string)
| 158 | * @returns Array of CLI arguments to pass to codex |
| 159 | */ |
| 160 | export function buildDeveloperInstructionsArg(instructions: string): string[] { |
| 161 | const escaped = escapeTomlString(instructions); |
| 162 | return ['-c', `developer_instructions="${escaped}"`]; |
| 163 | } |
| 164 | |
| 165 | export function buildModelReasoningEffortConfigArgs(effort: string): string[] { |
| 166 | return ['-c', `model_reasoning_effort="${escapeTomlString(effort)}"`]; |
no test coverage detected