We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0812012 commit 1456aaeCopy full SHA for 1456aae
src/teach/teach.controller.ts
@@ -27,7 +27,7 @@ export class TeachController {
27
@Post('/system-prompt')
28
async teachSystemPrompt(@Req() req, @Body() body: TeachSystemPromptDto) {
29
await this.polyFunctionService.setSystemPrompt(req.user.id, body.prompt);
30
- return "Conversation cleared and new system prompt set!"
+ return {"response": "Conversation cleared and new system prompt set!"}
31
}
32
33
@UseGuards(ApiKeyGuard)
0 commit comments