Skip to content

Commit 220b720

Browse files
Nitpick: API placeholder (#36)
1 parent 6ec4753 commit 220b720

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

docs/guide/getting-started/minimal-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For most basic use cases, `create_agent` is sufficient and much simpler to use.
5757
To run the example:
5858

5959
1. Install AmritaCore
60-
2. Replace `YOUR_API_ENDPOINT` and `YOUR_API_KEY` with actual values
60+
2. Replace `https://api.example.com` and `your-api-key` with actual values
6161
3. Execute the script with `python your_script.py`
6262

6363
For debugging, you can enable verbose logging by configuring the logger in your code.

docs/zh/guide/api-reference/classes/AgentRuntime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ agent = create_agent(
6060
)
6161

6262
# 获取用于交互的聊天对象
63-
chat = agent.get_chatobject("你好,你能做什么?")
63+
chat = agent.get_chatobject("你好,What can you do?")
6464

6565
# 执行交互
6666
async with chat.begin():

docs/zh/guide/api-reference/classes/AmritaAgentStrategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ from amrita_core.builtins.agent import AmritaAgentStrategy
6060

6161
# 创建策略上下文
6262
ctx = StrategyContext(
63-
user_input="你能做什么?",
63+
user_input="What can you do?",
6464
original_context=message_context,
6565
chat_object=chat_obj
6666
)

docs/zh/guide/api-reference/classes/StrategyContext.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ from amrita_core.agent.context import StrategyContext
3737

3838
# 创建策略上下文
3939
ctx = StrategyContext(
40-
user_input="你能做什么?",
40+
user_input="What can you do?",
4141
original_context=message_context,
4242
chat_object=chat_obj
4343
)

docs/zh/guide/builtins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def example():
128128
model="gpt-4",
129129
model_config={"temperature": 0.7}
130130
)
131-
chat = agent.get_chatobject("你能做什么?")
131+
chat = agent.get_chatobject("What can you do?")
132132
async with chat.begin():
133133
response = await chat.full_response()
134134
return response

docs/zh/guide/concepts/agent-strategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async def use_builtin_strategy():
9595
)
9696

9797
# 使用 agent
98-
chat = agent.get_chatobject("你能做什么?")
98+
chat = agent.get_chatobject("What can you do?")
9999
async with chat.begin():
100100
response = await chat.full_response()
101101

docs/zh/guide/getting-started/minimal-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async def minimal_example():
1919
)
2020

2121
# 获取用于交互的聊天对象
22-
chat = agent.get_chatobject("你好,你能做什么?")
22+
chat = agent.get_chatobject("你好,What can you do?")
2323

2424
# 执行交互并获取响应
2525
async with chat.begin():
@@ -56,7 +56,7 @@ if __name__ == "__main__":
5656
要运行示例:
5757

5858
1. 安装 AmritaCore
59-
2.`YOUR_API_ENDPOINT``YOUR_API_KEY` 替换为实际值
59+
2.`https://api.example.com``your-api-key` 替换为实际值
6060
3. 使用 `python your_script.py` 执行脚本
6161

6262
要进行调试,您可以通过在代码中配置日志记录器来启用详细日志。

readmes/ZH_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ async def main():
181181
model="gpt-4"
182182
)
183183

184-
chat = agent.get_chatobject("你好!你能做什么?")
184+
chat = agent.get_chatobject("你好!What can you do?")
185185
async with chat.begin():
186186
response = await chat.full_response()
187187
print(response)

0 commit comments

Comments
 (0)