feat(i18n): update translations (#2299)

Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com>
This commit is contained in:
Waleed
2025-12-10 21:16:32 -08:00
committed by GitHub
parent 6c99c841f4
commit 14846ab05c
26 changed files with 456 additions and 567 deletions

View File

@@ -37,7 +37,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 必需 | 描述 |
| --------- | ---- | -------- | ----------- |
| `thought` | 字符串 | 是 | 用户在思考步骤模块中提供的思考过程或指令。 |
| `thought` | 字符串 | 是 | 您的内部推理、分析或思考过程。使用此项逐步思考问题,然后再作出回应。 |
#### 输出

View File

@@ -31,39 +31,32 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
## 工具
### `openai_chat`
### `llm_chat`
向任何支持的 LLM 提供商发送聊天完成请求
#### 输入
| 参数 | 类型 | 必需 | 描述 |
| --------- | ---- | -------- | ----------- |
| `model` | string | 是 | 要使用的模型 \(例如gpt-4o、claude-sonnet-4-5、gemini-2.0-flash\) |
| `systemPrompt` | string | 否 | 设置助手行为的系统提示 |
| `context` | string | 是 | 要发送给模型的用户消息或上下文 |
| `apiKey` | string | 否 | 提供商的 API 密钥 \(如果未为托管模型提供,则使用平台密钥\) |
| `temperature` | number | 否 | 响应生成的温度 \(0-2\) |
| `maxTokens` | number | 否 | 响应的最大令牌数 |
| `azureEndpoint` | string | 否 | Azure OpenAI 端点 URL |
| `azureApiVersion` | string | 否 | Azure OpenAI API 版本 |
#### 输出
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `content` | string | 翻译后的文本 |
| `model` | string | 使用的模型 |
| `tokens` | json | 令牌使用情况 |
| `content` | string | 生成的响应内容 |
| `model` | string | 用于生成的模型 |
| `tokens` | object | 令牌使用信息 |
### `anthropic_chat`
## 注意
### `google_chat`
#### 输入
| 参数 | 类型 | 必需 | 描述 |
| --------- | ---- | -------- | ----------- |
#### 输出
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `content` | string | 翻译后的文本 |
| `model` | string | 使用的模型 |
| `tokens` | json | Token 使用情况 |
## 注意事项
- 类别:`tools`
- 类型:`translate`
- 类别: `tools`
- 类型: `translate`

View File

@@ -250,13 +250,13 @@ Sim 与 WordPress 的集成让您的代理可以自动化处理重要的网站
| 参数 | 类型 | 必需 | 描述 |
| --------- | ---- | -------- | ----------- |
| `siteId` | 字符串 | 是 | WordPress.com 站点 ID 或域名例如12345678 或 mysite.wordpress.com |
| `file` | 字符串 | | Base64 编码的文件数据或用于获取文件的 URL |
| `filename` | 字符串 | | 带扩展名的文件名(例如image.jpg |
| `title` | 字符串 | 否 | 媒体标题 |
| `caption` | 字符串 | 否 | 媒体说明 |
| `altText` | 字符串 | 否 | 用于无障碍的替代文本 |
| `description` | 字符串 | 否 | 媒体描述 |
| `siteId` | string | 是 | WordPress.com 站点 ID 或域名 \(例如12345678 或 mysite.wordpress.com\) |
| `file` | file | | 要上传的文件 \(UserFile 对象\) |
| `filename` | string | | 可选的文件名覆盖 \(例如image.jpg\) |
| `title` | string | 否 | 媒体标题 |
| `caption` | string | 否 | 媒体说明 |
| `altText` | string | 否 | 用于无障碍的替代文本 |
| `description` | string | 否 | 媒体描述 |
#### 输出

View File

@@ -170,28 +170,9 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| --------- | ---- | ----------- |
| `items` | 数组 | 播放列表中的视频数组 |
### `youtube_related_videos`
查找与特定 YouTube 视频相关的视频。
#### 输入
| 参数 | 类型 | 必需 | 描述 |
| --------- | ---- | -------- | ----------- |
| `videoId` | 字符串 | 是 | 用于查找相关视频的 YouTube 视频 ID |
| `maxResults` | 数字 | 否 | 返回相关视频的最大数量 \(1-50\) |
| `pageToken` | 字符串 | 否 | 分页的页面令牌 |
| `apiKey` | 字符串 | 是 | YouTube API 密钥 |
#### 输出
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `items` | 数组 | 相关视频的数组 |
### `youtube_comments`
从 YouTube 视频获取评论。
从 YouTube 视频获取评论。
#### 输入
@@ -207,7 +188,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `items` | 数组 | 视频评论数组 |
| `items` | 数组 | 视频中的评论数组 |
## 注意事项

View File

@@ -73,8 +73,9 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 工单数据和元数据 |
| `tickets` | array | 工单对象数组 |
| `paging` | object | 分页信息 |
| `metadata` | object | 操作元数据 |
### `zendesk_get_ticket`
@@ -93,8 +94,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 工单数据 |
| `ticket` | object | 工单对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_create_ticket`
@@ -122,8 +123,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 创建的工单数据 |
| `ticket` | object | 创建的工单对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_create_tickets_bulk`
@@ -142,8 +143,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 批量创建任务状态 |
| `jobStatus` | object | 任务状态对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_update_ticket`
@@ -171,8 +172,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 更新的工单数据 |
| `ticket` | object | 更新的工单对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_update_tickets_bulk`
@@ -196,8 +197,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 批量更新任务状态 |
| `jobStatus` | object | 任务状态对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_delete_ticket`
@@ -216,8 +217,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 删除确认 |
| `deleted` | boolean | 删除成功 |
| `metadata` | object | 操作元数据 |
### `zendesk_merge_tickets`
@@ -238,8 +239,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 合并任务状态 |
| `jobStatus` | object | 任务状态对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_get_users`
@@ -261,8 +262,9 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 用户数据和元数据 |
| `users` | array | 用户对象数组 |
| `paging` | object | 分页信息 |
| `metadata` | object | 操作元数据 |
### `zendesk_get_user`
@@ -281,8 +283,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 用户数据 |
| `user` | object | 用户对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_get_current_user`
@@ -300,8 +302,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 当前用户数据 |
| `user` | object | 当前用户对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_search_users`
@@ -323,8 +325,9 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 用户搜索结果 |
| `users` | array | 用户对象数组 |
| `paging` | object | 分页信息 |
| `metadata` | object | 操作元数据 |
### `zendesk_create_user`
@@ -350,8 +353,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 创建的用户数据 |
| `user` | object | 创建的用户对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_create_users_bulk`
@@ -370,8 +373,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 批量创建任务状态 |
| `jobStatus` | object | 任务状态对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_update_user`
@@ -398,8 +401,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 更新的用户数据 |
| `user` | object | 更新的用户对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_update_users_bulk`
@@ -418,8 +421,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 批量更新任务状态 |
| `jobStatus` | object | 任务状态对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_delete_user`
@@ -438,8 +441,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 已删除的用户数据 |
| `deleted` | boolean | 删除成功 |
| `metadata` | object | 操作元数据 |
### `zendesk_get_organizations`
@@ -459,8 +462,9 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 组织数据和元数据 |
| `organizations` | array | 组织对象数组 |
| `paging` | object | 分页信息 |
| `metadata` | object | 操作元数据 |
### `zendesk_get_organization`
@@ -479,8 +483,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 组织数据 |
| `organization` | object | 组织对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_autocomplete_organizations`
@@ -501,8 +505,9 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 组织搜索结果 |
| `organizations` | array | 组织对象数组 |
| `paging` | object | 分页信息 |
| `metadata` | object | 操作元数据 |
### `zendesk_create_organization`
@@ -526,8 +531,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 创建的组织数据 |
| `organization` | object | 创建的组织对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_create_organizations_bulk`
@@ -546,8 +551,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 批量创建任务状态 |
| `jobStatus` | object | 任务状态对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_update_organization`
@@ -572,8 +577,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 更新后的组织数据 |
| `organization` | object | 更新的组织对象 |
| `metadata` | object | 操作元数据 |
### `zendesk_delete_organization`
@@ -592,8 +597,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 已删除的组织数据 |
| `deleted` | boolean | 删除成功 |
| `metadata` | object | 操作元数据 |
### `zendesk_search`
@@ -616,8 +621,9 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 搜索结果 |
| `results` | array | 结果对象的数组 |
| `paging` | object | 分页信息 |
| `metadata` | object | 操作元数据 |
### `zendesk_search_count`
@@ -636,8 +642,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `success` | boolean | 操作成功状态 |
| `output` | object | 搜索计数结果 |
| `count` | number | 匹配结果的数量 |
| `metadata` | object | 操作元数据 |
## 注意事项