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: backend/collaboration/src/service/post/openai-service.ts
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,10 @@ export async function getOpenAIResponse(messages: OpenAIMessage[]) {
17
17
{
18
18
role: 'system',
19
19
content:
20
-
'You are a helpful coding assistant. You are helping a user with a coding problem. Provide tips to the user on solving the problem but do not provide the solution directly.',
20
+
`You are a helpful coding assistant. `+
21
+
`You are helping a user with a coding problem. `+
22
+
`Provide tips to the user on solving the problem `+
23
+
`but do NOT provide the solution directly.`,
21
24
},
22
25
...messages,
23
26
],
@@ -26,7 +29,7 @@ export async function getOpenAIResponse(messages: OpenAIMessage[]) {
0 commit comments