瀏覽代碼

add timezone in system prompts

l.tingting 1 年之前
父節點
當前提交
aa084ea09a
共有 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,
   };