We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 152802a commit 3f64224Copy full SHA for 3f64224
src/services/ai.ts
@@ -50,8 +50,7 @@ export class AiService {
50
}
51
});
52
53
- const result = JSON.parse((res.content as any)[0].text);
54
- return result.response.trim();
+ return (res.content as any)[0].text.trim();
55
56
57
// private askGptBoolean = async (question: string, prompts: string[]): Promise<boolean> => {
0 commit comments