Commit 7f3800b
committed
fix(agents-chat-starter): spawn entities via /_electric/entities
Since the routing refactor in #4307, a bare PUT /:type/:id on the
agents-server falls through to the durable-streams proxy. The proxy
creates a raw stream and returns 201, so the starter's ok-check passes,
but no entity is created and the agent never wakes. Spawn through the
entity API instead, and fix the same snippet in AGENTS.md.
Fixes #46871 parent 9e3af10 commit 7f3800b
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| |||
0 commit comments