Commit 03c1bf4
committed
Fix extra-payload destructuring in Ollama provider
extra-payload was destructured from the callbacks map (arg 2) but
`prompt!` passes it in the opts map (arg 1). This meant extraPayload
from model config was silently ignored for Ollama requests.
All other providers (openai, anthropic, google, github-copilot)
receive extra-payload in the opts map, consistent with how `prompt!`
passes it. This fix aligns the Ollama provider with the same pattern.1 parent 1d7f6a7 commit 03c1bf4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
0 commit comments