fix: autocorrect everything in api (#17859)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong
2025-04-11 15:24:39 +08:00
committed by GitHub
parent fe19cc7568
commit f04d52c044
17 changed files with 57 additions and 57 deletions

View File

@@ -8,7 +8,7 @@ identity:
description:
human:
en_US: Run code and get the result back. When you're using a lower quality model, please make sure there are some tips help LLM to understand how to write the code.
zh_Hans: 运行一段代码并返回结果。当您使用较低质量的模型时请确保有一些提示帮助LLM理解如何编写代码。
zh_Hans: 运行一段代码并返回结果。当您使用较低质量的模型时,请确保有一些提示帮助 LLM 理解如何编写代码。
pt_BR: Execute um trecho de código e obtenha o resultado de volta. quando você estiver usando um modelo de qualidade inferior, certifique-se de que existam algumas dicas para ajudar o LLM a entender como escrever o código.
llm: A tool for running code and getting the result back. Only native packages are allowed, network/IO operations are disabled. and you must use print() or console.log() to output the result or result will be empty.
parameters:

View File

@@ -19,7 +19,7 @@ parameters:
zh_Hans: 本地时间
human_description:
en_US: localtime, such as 2024-1-1 0:0:0
zh_Hans: 本地时间, 比如2024-1-1 0:0:0
zh_Hans: 本地时间比如 2024-1-1 0:0:0
- name: timezone
type: string
required: false
@@ -29,5 +29,5 @@ parameters:
zh_Hans: 时区
human_description:
en_US: Timezone, such as Asia/Shanghai
zh_Hans: 时区, 比如Asia/Shanghai
zh_Hans: 时区比如 Asia/Shanghai
default: Asia/Shanghai

View File

@@ -29,5 +29,5 @@ parameters:
zh_Hans: 时区
human_description:
en_US: Timezone, such as Asia/Shanghai
zh_Hans: 时区, 比如Asia/Shanghai
zh_Hans: 时区比如 Asia/Shanghai
default: Asia/Shanghai

View File

@@ -19,7 +19,7 @@ parameters:
zh_Hans: 当前时间
human_description:
en_US: current time, such as 2024-1-1 0:0:0
zh_Hans: 当前时间, 比如2024-1-1 0:0:0
zh_Hans: 当前时间比如 2024-1-1 0:0:0
- name: current_timezone
type: string
required: true
@@ -29,7 +29,7 @@ parameters:
zh_Hans: 当前时区
human_description:
en_US: Current Timezone, such as Asia/Shanghai
zh_Hans: 当前时区, 比如Asia/Shanghai
zh_Hans: 当前时区比如 Asia/Shanghai
default: Asia/Shanghai
- name: target_timezone
type: string
@@ -40,5 +40,5 @@ parameters:
zh_Hans: 目标时区
human_description:
en_US: Target Timezone, such as Asia/Tokyo
zh_Hans: 目标时区, 比如Asia/Tokyo
zh_Hans: 目标时区比如 Asia/Tokyo
default: Asia/Tokyo

View File

@@ -59,7 +59,7 @@ class ApiToolProviderController(ToolProviderController):
name="api_key_value",
required=True,
type=ProviderConfig.Type.SECRET_INPUT,
help=I18nObject(en_US="The api key", zh_Hans="api key的值"),
help=I18nObject(en_US="The api key", zh_Hans="api key 的值"),
),
ProviderConfig(
name="api_key_header_prefix",