Skip to content

Commit 714b289

Browse files
mp-orkesclaude
andcommitted
Fix stale docstrings in examples 82 and 84
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent d81bdef commit 714b289

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

examples/agents/82_coding_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
python 82_coding_agent.py --resume # resume last session
1616
1717
Requirements:
18-
- Conductor server running at http://localhost:8080
18+
- Conductor server with WMQ support (conductor.workflow-message-queue.enabled=true)
1919
- CONDUCTOR_SERVER_URL=http://localhost:8080/api
2020
- CONDUCTOR_AGENT_LLM_MODEL=anthropic/claude-sonnet-5
2121
"""

examples/agents/84_deterministic_stop.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
99
How it works:
1010
The server compiles every agent's DoWhile loop with a ``_stop_requested``
11-
workflow variable in its condition. When ``handle.stop()`` is called, the
12-
SDK sets this variable to ``true`` via Conductor's ``updateVariables`` API.
11+
workflow variable in its condition. ``handle.stop()`` POSTs to
12+
``/agent/{execution_id}/stop`` and the server sets that variable to ``true``.
1313
The loop condition evaluates to ``false`` on the next check, and the loop
1414
exits. The LLM cannot override this — it's checked by Conductor, not the
1515
LLM.
@@ -28,7 +28,8 @@
2828
The LLM could ignore this. handle.stop() makes this unnecessary.
2929
3030
Requirements:
31-
- Conductor server (with _stop_requested support in compiler)
31+
- Conductor server with WMQ support (conductor.workflow-message-queue.enabled=true)
32+
and _stop_requested support in the compiler
3233
- CONDUCTOR_SERVER_URL=http://localhost:8080/api as environment variable
3334
- CONDUCTOR_AGENT_LLM_MODEL=openai/gpt-4o-mini as environment variable
3435
"""

0 commit comments

Comments
 (0)