fixup tests and npm run all

This commit is contained in:
Sean Goedecke
2025-04-06 23:21:29 +00:00
parent 183a647877
commit 6932781e1f
6 changed files with 6389 additions and 87 deletions

View File

@@ -10,6 +10,10 @@ import { AzureKeyCredential } from '@azure/core-auth'
export async function run(): Promise<void> {
try {
const prompt: string = core.getInput('prompt')
if (prompt === undefined || prompt === '') {
throw new Error('prompt is not set')
}
const systemPrompt: string = core.getInput('system_prompt')
const modelName = core.getInput('model_name') || 'gpt-4o'