(args: {
baseInstructions?: string;
developerInstructions?: string;
})
| 70 | } |
| 71 | |
| 72 | function resolveInstructions(args: { |
| 73 | baseInstructions?: string; |
| 74 | developerInstructions?: string; |
| 75 | }): { baseInstructions: string; developerInstructions: string } { |
| 76 | const baseInstructions = args.baseInstructions ?? codexSystemPrompt; |
| 77 | const developerInstructions = args.developerInstructions |
| 78 | ? `${baseInstructions}\n\n${args.developerInstructions}` |
| 79 | : baseInstructions; |
| 80 | return { |
| 81 | baseInstructions, |
| 82 | developerInstructions |
| 83 | }; |
| 84 | } |
| 85 | |
| 86 | function appendCollaborationInstructions(developerInstructions: string): string { |
| 87 | return `${developerInstructions}\n\n${codexCollaborationSpawnAgentInstructions}`; |
no outgoing calls
no test coverage detected