( systemPrompt: string | undefined, appendSystemPrompt: string | undefined, )
| 98 | } |
| 99 | |
| 100 | function getSystemPrompt( |
| 101 | systemPrompt: string | undefined, |
| 102 | appendSystemPrompt: string | undefined, |
| 103 | ): string | undefined { |
| 104 | if (systemPrompt && appendSystemPrompt) { |
| 105 | return `${systemPrompt}\n\n${appendSystemPrompt}` |
| 106 | } |
| 107 | return systemPrompt ?? appendSystemPrompt |
| 108 | } |
| 109 | |
| 110 | async function run(): Promise<void> { |
| 111 | const parsed = parseArgs(process.argv.slice(2)) |
no outgoing calls
no test coverage detected