소스 검색

Merge pull request #4510 from MrrDrr/add_timezone_in_system_prompts

add timezone in system prompts
DeanYao 1 년 전
부모
커밋
f742a7ec4e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/store/chat.ts

+ 1 - 1
app/store/chat.ts

@@ -120,7 +120,7 @@ function fillTemplateWith(input: string, modelConfig: ModelConfig) {
     ServiceProvider: serviceProvider,
     cutoff,
     model: modelConfig.model,
-    time: new Date().toLocaleString(),
+    time: new Date().toString(),
     lang: getLang(),
     input: input,
   };