瀏覽代碼

Add instructions on response language

Shun Miyazawa 1 年之前
父節點
當前提交
b75ded2862
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      apps/app/src/features/openai/server/services/openai.ts

+ 1 - 0
apps/app/src/features/openai/server/services/openai.ts

@@ -99,6 +99,7 @@ class OpenaiService implements IOpenaiService {
     const model = configManager.getConfig('openai:assistantModel:chat');
     const systemMessage = [
       'Create a brief title (max 5 words) from your message.',
+      'Respond in the same language the user uses in their input.',
       'Response should only contain the title.',
     ].join('');