MCPcopy Create free account
hub / github.com/tiann/hapi / buildDeveloperInstructionsArg

Function buildDeveloperInstructionsArg

cli/src/codex/utils/codexMcpConfig.ts:160–163  ·  view source on GitHub ↗
(instructions: string)

Source from the content-addressed store, hash-verified

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

Callers 2

codexLocalFunction · 0.90

Calls 1

escapeTomlStringFunction · 0.85

Tested by

no test coverage detected