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

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