Commit c8a3708
fix(echo): fall back to the public url when internal_url is absent (#56)
internal_url is optional in the trickle channel response: the SDK types it
NotRequired and go-livepeer tags it omitempty, so an orchestrator that is
not configured to return one omits the key entirely. Indexing it raised
KeyError and the runner answered /echo with a 500.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent bf7dfe7 commit c8a3708
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
| |||
0 commit comments