Commit e5f73cd
committed
fix(buzz-agent): carry BUZZ_AGENT_LLM_TIMEOUT_SECS onto goose
PR #6115 seats a 660 s client budget for mesh agents in the desktop
(`managed_agents/relay_mesh.rs`) because MeshLLM's own backend budget is
600 s and a cold prefill of a large agent prompt can legitimately take
~500 s. On this branch that seed reached nothing: buzz-agent no longer
has a request loop, and `project_goose_env` had no projection for the
variable, so goose's own default applied instead.
goose's default is 600 s (`DEFAULT_PROVIDER_TIMEOUT_SECS`) — just *under*
the mesh server's, which is the same wrong-side-of-the-server ordering
#6115 diagnosed. So the bug #6115 fixes would have come back on merge,
silently and only on shared compute.
goose reads the timeout per provider rather than globally, so this
projects onto the variable belonging to the configured provider.
`relay-mesh` maps to goose's `openai` provider and so reads
`OPENAI_TIMEOUT` (`goose/src/providers/openai_def.rs:118`). Providers
goose gives no timeout knob — databricks — return `None` rather than
getting a variable goose never reads.
Two tests. The mesh one asserts the invariant (`> 600`) rather than the
literal, and I verified it fails with the projection removed and the test
kept, reconstructing that baseline from the file rather than `git stash`.
README corrected: it claimed this knob was "no longer read", and its
limits table still listed the pre-goose 240 s default.
Co-authored-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Michael Neale <michael.neale@gmail.com>1 parent 9ca8806 commit e5f73cd
2 files changed
Lines changed: 106 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
125 | 145 | | |
126 | 146 | | |
127 | 147 | | |
| |||
263 | 283 | | |
264 | 284 | | |
265 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
266 | 307 | | |
267 | 308 | | |
268 | 309 | | |
| |||
299 | 340 | | |
300 | 341 | | |
301 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
302 | 406 | | |
303 | 407 | | |
304 | 408 | | |
| |||
0 commit comments