Merge pull request #4510 from MrrDrr/add_timezone_in_system_prompts
add timezone in system prompts
This commit is contained in:
commit
f742a7ec4e
|
@ -120,7 +120,7 @@ function fillTemplateWith(input: string, modelConfig: ModelConfig) {
|
||||||
ServiceProvider: serviceProvider,
|
ServiceProvider: serviceProvider,
|
||||||
cutoff,
|
cutoff,
|
||||||
model: modelConfig.model,
|
model: modelConfig.model,
|
||||||
time: new Date().toLocaleString(),
|
time: new Date().toString(),
|
||||||
lang: getLang(),
|
lang: getLang(),
|
||||||
input: input,
|
input: input,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue