package
This commit is contained in:
+2
-2
@@ -48656,12 +48656,12 @@ async function simpleInference(request) {
|
||||
return modelResponse || null;
|
||||
}
|
||||
else {
|
||||
coreExports.error('Unexpected response format from OpenAI API');
|
||||
coreExports.error(`Unexpected response format from API: ${JSON.stringify(response)}`);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
coreExports.error(`OpenAI API error: ${error}`);
|
||||
coreExports.error(`API error: ${error}`);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user