Commit 0bda3d8
Fix missing imports in sync-openai-agents template
The sync-openai-agents template uses StreamTaskMessageFull and TextContent
in the no-API-key error path but never imports them, causing a NameError
at runtime. Also adds a missing return after the error yield.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b1f5ff8 commit 0bda3d8
File tree
1 file changed
+3
-1
lines changed- src/agentex/lib/cli/templates/sync-openai-agents/project
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
0 commit comments