Commit 41c218f
fix(hermes): drop
Addresses Greptile review: `delta` is the field that carries streamed
assistant text in `message.delta` events, so keeping it in the
`reasoning.available` extraction chain risked silently treating a
non-reasoning `delta` payload as reasoning text. The remaining six field
names are semantically specific; ambiguous payloads now fall back to the
"Hermes reasoning available" placeholder, matching the stated safe-fallback
contract. Kept `.ts` and `.cjs` mirror in sync.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>delta from reasoning extraction chain1 parent 81f94b7 commit 41c218f
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
0 commit comments