Commit cd3428b
committed
fix: dispatchToGateway timeoutId scoping bug and agent doc consistency
- Move timeoutId declaration outside try block so catch can clear it.
Previously timeoutId was const inside try, making it invisible in catch
— network errors (ECONNREFUSED, AbortError) left the 10s timeout
active and clearTimeout threw ReferenceError silently.
- Remove redundant clearTimeout on 5xx retry path (already cleared after
fetch on line 313).
- Standardize agent IDENTITY.md headings: "What I Don't Do" → "What I Do
Not Do" in responder and reporting agents to match other 5 agents.1 parent 4252e1d commit cd3428b
File tree
3 files changed
+4
-4
lines changed- openclaw/agents
- reporting
- responder
- runtime/autopilot-service
3 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
299 | 300 | | |
300 | 301 | | |
301 | | - | |
| 302 | + | |
302 | 303 | | |
303 | 304 | | |
304 | 305 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
344 | | - | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| |||
0 commit comments