You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/api/chat/route.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ export async function POST(req: NextRequest) {
41
41
constsystemMessage: Message={
42
42
role: 'system',
43
43
content:
44
-
'Only answer questions about PostgreSQL and the user provided database schema if any. Return only SQL code with no explanation',
44
+
'Only answer questions about PostgreSQL and the user provided database schema if any. Return only SQL code with no explanation. prefix the response with -- unless it is SQL code before and after code',
0 commit comments