Skip to content

Commit af1c596

Browse files
README:英文作为主说明,中文移到 README.zh-CN.md
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1 parent 51a5332 commit af1c596

9 files changed

Lines changed: 441 additions & 441 deletions

File tree

‎README.en.md‎

Lines changed: 0 additions & 296 deletions
This file was deleted.

‎README.md‎

Lines changed: 133 additions & 133 deletions
Large diffs are not rendered by default.

‎README.zh-CN.md‎

Lines changed: 296 additions & 0 deletions
Large diffs are not rendered by default.

‎docs/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## 我想上手
66

7-
- 安装、初始化、启动、打开控制台:[README「三分钟上手」](../README.md#三分钟上手)
7+
- 安装、初始化、启动、打开控制台:[README「三分钟跑起来」](../README.zh-CN.md#三分钟跑起来)
88
- 控制台各页面怎么用:[console.md](console.md)
99
- 本地启动的更多细节(配置文件、后台运行):[operations.md「Local start」](operations.md#local-start)
1010

@@ -29,7 +29,7 @@
2929
- 接入契约与各方式的能力差异:[adapters.md「AgentAPI 转换契约」](adapters.md#agentapi-转换契约2026-11-08)
3030
- 写一个 `oaa/1` / `oaa/1-stream` 适配器:[adapters.md](adapters.md#oaa1-最终结果-abi)
3131
- ACP 与 A2A 智能体:[adapters.md「ACP 智能体」](adapters.md#acp-智能体agent-client-protocol)、[「A2A 远程智能体」](adapters.md#a2a-远程智能体2026-11-08)
32-
- 已支持的外部智能体与它们的边界:[README「外部智能体的边界」](../README.md#外部智能体的边界)
32+
- 已支持的外部智能体与它们的边界:[README「能接入哪些智能体」](../README.zh-CN.md#能接入哪些智能体)
3333

3434
## 我想让调用方的工具参与
3535

@@ -52,7 +52,7 @@
5252
- 接入自己的支付(`billing` 密钥、按外部单号防重):[platform.md「接入你自己的支付」](platform.md#接入你自己的支付)
5353
- 安全要点与限制:[platform.md「安全要点」](platform.md#安全要点)、[platform.md「限制」](platform.md#限制)
5454
- 英文开发者指南(调用、计费、任务记录、忘记密码):[platform.en.md](platform.en.md)
55-
- 英文简介:[README.en.md](../README.en.md)
55+
- 英文简介:[README.md](../README.md)
5656

5757
## 我想理解架构
5858

‎docs/platform.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ response = client.responses.create(
271271
- 账号密钥可以用 OpenAI Responses、Chat Completions 与 Claude Messages 等任一兼容入口调用,流式同样可用。
272272
- `model` 填的是智能体的调用名,不是模型名。
273273
- 智能体收费时(两个价格不全为 0),余额不足会返回 402 `insufficient_balance`,任务不会被创建。
274-
- 长任务可以加 `background=True`,之后用 `client.responses.retrieve(response.id)` 查询,写法与 [README 的三分钟上手](../README.md#三分钟上手) 相同。
274+
- 长任务可以加 `background=True`,之后用 `client.responses.retrieve(response.id)` 查询,写法与 [README 的三分钟跑起来](../README.zh-CN.md#三分钟跑起来) 相同。
275275
- 非流式调用在任务已经创建、但没有正常结束(失败、取消、中断或待审批)时,Chat Completions、Claude Messages 与 Gemini 返回 422,并带 `x-should-retry: false`,官方 SDK 不会因此自动重试(不会重复提交)。Responses 照常返回带 `status` 的响应对象。各入口的错误形状、重试头与截断时的结束原因,见 [protocol.md「兼容入口的参数、错误与结束原因」](protocol.md#兼容入口的参数错误与结束原因060)。
276276
277277
### 查看任务的过程

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"!dist/src/**/*.map",
2525
"web",
2626
"README.md",
27-
"README.en.md",
27+
"README.zh-CN.md",
2828
"LICENSE",
2929
"NOTICE",
3030
"THIRD_PARTY_NOTICES.md",

‎site/en/index.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<span class="brand-word" translate="no">Open Agent API</span>
3131
</a>
3232
<nav class="head-nav" aria-label="Site">
33-
<a href="https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/main/README.en.md"
33+
<a href="https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/main/README.md"
3434
>GitHub</a
3535
>
3636
<a class="lang" href="../" hreflang="zh-CN" lang="zh-CN">中文</a>
@@ -51,12 +51,12 @@ <h1 class="display" id="hero-title">Turn agents into an API.</h1>
5151
<div class="actions">
5252
<a
5353
class="btn"
54-
href="https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/main/README.en.md"
54+
href="https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/main/README.md"
5555
>View on GitHub</a
5656
>
5757
<a
5858
class="btn-quiet"
59-
href="https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/main/README.en.md#running-in-three-minutes"
59+
href="https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/main/README.md#running-in-three-minutes"
6060
>Running in three minutes →</a
6161
>
6262
</div>
@@ -373,7 +373,7 @@ <h3>Not yet</h3>
373373
or performance with real providers. The full account is in the README's
374374
<a
375375
class="text-link"
376-
href="https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/main/README.en.md#status-and-limits"
376+
href="https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/main/README.md#status-and-limits"
377377
>Status and limits</a
378378
>.
379379
</p>

‎site/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h1 class="display" id="hero-title">把智能体变成 API。</h1>
5151
>
5252
<a
5353
class="btn-quiet"
54-
href="https://github.com/jiangxingfan1-coder/Open-Agent-API#三分钟跑起来"
54+
href="https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/main/README.zh-CN.md#三分钟跑起来"
5555
>三分钟跑起来 →</a
5656
>
5757
</div>
@@ -297,7 +297,7 @@ <h3>尚未做到</h3>
297297
测试用的是本地确定性模型与夹具,不能证明真实提供方的兼容性与性能。完整的说明见
298298
<a
299299
class="text-link"
300-
href="https://github.com/jiangxingfan1-coder/Open-Agent-API#现状与边界"
300+
href="https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/main/README.zh-CN.md#现状与边界"
301301
>README 的「现状与边界」</a
302302
>。
303303
</p>

‎tools/demo-video/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ PingFang SC,所以渲染要在 macOS 上做;换机器要保证有同样的
137137
英文版是同一条片子的另一个语言版本:分镜、时间轴、画面构成都一样,变的是文案、字体与控制台界面语言。
138138

139139
- **文案**在 [copy.en.json](copy.en.json),形状与 `copy.json` 一致,只是每条文案是 `{ "en": 主文案, "sub": 可选的小号副文案 }`
140-
(中文版是大号中文加一行小号英文,英文版只有一行主文案)。定位语与 `README.en.md` 一致:开场是「Turn agents into an API.」加一行
140+
(中文版是大号中文加一行小号英文,英文版只有一行主文案)。定位语与 英文 `README.md` 一致:开场是「Turn agents into an API.」加一行
141141
「You call an agent, not a model.」。
142142
- **字体**:英文标题与字幕用 Instrument Serif(与产品英文界面的标题字体一致),小字用 Geist / Geist Mono;中文版仍是 Noto Serif SC。
143143
录制里原样保留的中文(真实问答)会带上 `lang="zh-CN"`,字形不会被英文环境换掉。

0 commit comments

Comments
 (0)