Commit 84a1ab1
fix: Type create_tracker as Optional to fix mypy errors
Change AgentGraphDefinition.create_tracker from
Callable[[], AIGraphTracker] with default lambda: None to
Optional[Callable[[], AIGraphTracker]] with default None. Guard
call sites in both runners with `is not None` before invoking.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent dd44577 commit 84a1ab1
3 files changed
Lines changed: 4 additions & 4 deletions
File tree
- packages
- ai-providers
- server-ai-langchain/src/ldai_langchain
- server-ai-openai/src/ldai_openai
- sdk/server-ai/src/ldai/agent_graph
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments