( systemPrompt: string | undefined, appendSystemPrompt: string | undefined, )
| 115 | } |
| 116 | |
| 117 | function getSystemPrompt( |
| 118 | systemPrompt: string | undefined, |
| 119 | appendSystemPrompt: string | undefined, |
| 120 | ): string | undefined { |
| 121 | if (systemPrompt && appendSystemPrompt) { |
| 122 | return `${systemPrompt}\n\n${appendSystemPrompt}` |
| 123 | } |
| 124 | return systemPrompt ?? appendSystemPrompt |
| 125 | } |
| 126 | |
| 127 | async function run(): Promise<void> { |
| 128 | const parsed = parseArgs(process.argv.slice(2)) |
no outgoing calls
no test coverage detected