We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a69de0 commit 8b23bc8Copy full SHA for 8b23bc8
README.md
@@ -161,7 +161,7 @@ export OPENAI_API_KEY="your-openai-key"
161
python translator.py
162
```
163
164
-Communicate with the agent:
+Communicate with the agent using the `coagent` CLI:
165
166
```bash
167
coagent translator -H type:ChatMessage --chat -d '{"role": "user", "content": "你好,世界"}'
examples/structured-outputs/daemon_agent.py
@@ -33,7 +33,7 @@ class FriendList(BaseModel):
33
34
35
async def main():
36
- async with NATSRuntime.from_servers("nats://127.0.0.1:4222") as runtime:
+ async with NATSRuntime.from_servers() as runtime:
37
await runtime.register(structured)
38
await idle_loop()
39
0 commit comments