Merge pull request #4510 from MrrDrr/add_timezone_in_system_prompts

add timezone in system prompts
This commit is contained in:
DeanYao 2024-04-15 10:09:53 +08:00 committed by GitHub
commit f742a7ec4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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,
};