mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-22 10:36:47 +00:00
Finetuning logging msg [review]
This commit is contained in:
parent
bbd546b889
commit
7f6dd34aa7
3 changed files with 6 additions and 3 deletions
|
@ -325,7 +325,7 @@ async function getAIResponse(prompt: string): Promise<Array<{
|
|||
const res = response.choices[0].message?.content?.trim() || "{}";
|
||||
return JSON.parse(res).reviews;
|
||||
} catch (error) {
|
||||
console.error("Error:", error);
|
||||
console.error("Could not fetch AI response:", error);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue