Skip to content

Commit 8b23bc8

Browse files
committed
Tweaks
1 parent 0a69de0 commit 8b23bc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export OPENAI_API_KEY="your-openai-key"
161161
python translator.py
162162
```
163163

164-
Communicate with the agent:
164+
Communicate with the agent using the `coagent` CLI:
165165

166166
```bash
167167
coagent translator -H type:ChatMessage --chat -d '{"role": "user", "content": "你好,世界"}'

examples/structured-outputs/daemon_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class FriendList(BaseModel):
3333

3434

3535
async def main():
36-
async with NATSRuntime.from_servers("nats://127.0.0.1:4222") as runtime:
36+
async with NATSRuntime.from_servers() as runtime:
3737
await runtime.register(structured)
3838
await idle_loop()
3939

0 commit comments

Comments
 (0)