Commit 924159f
committed
llm: clarify transient-set count and legacy finish_reason mapping
Two doc-only cleanups from PR #17 review:
- errors.py: TRANSIENT_CATEGORIES has three entries, not four —
comment was off by one.
- providers/openai.py: tighten the comment on the
`finish_reason: "function_call"` → `"tool_calls"` rename so it's
clear this is a value rename (per spec §8.2 / conformance fixture
005), not a message-field transformation. We do not translate the
deprecated single `message.function_call` shape — none of the
backends we currently target emit it.1 parent 3f825b2 commit 924159f
2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
258 | 266 | | |
259 | 267 | | |
260 | 268 | | |
| |||
0 commit comments