Commit cb03bbc
fix(langgraph): reasoning Start needs non-null style + native async tool
- _langgraph_sync.py: reasoning StreamTaskMessageStart now sets style="active".
The AgentEx server's StreamTaskMessageStartEntity rejects reasoning.style=None
(enum), which killed the sync stream — breaking harness_langgraph and the
pre-existing 030_langgraph that share this emitter.
- temporal harness tools.py: give get_weather a native async coroutine so
tools_node's `await tool.ainvoke(...)` runs on the workflow loop instead of
LangChain's run_in_executor fallback (NotImplementedError in the deterministic
Temporal workflow sandbox).
- test_langgraph_sync.py: assert the reasoning Start carries a non-null style.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent bdd528b commit cb03bbc
3 files changed
Lines changed: 20 additions & 1 deletion
File tree
- examples/tutorials/10_async/10_temporal/harness_langgraph/project
- src/agentex/lib/adk/_modules
- tests/lib/adk
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
18 | 30 | | |
19 | 31 | | |
20 | 32 | | |
| 33 | + | |
21 | 34 | | |
22 | 35 | | |
23 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
0 commit comments