Commit bd9227e
committed
fix(llm): restore endpoint URL in LLMCallException via provider_url
The old _raise_llm_call_exception extracted endpoint URLs by checking
BASE_URL_ATTRIBUTES on the raw LangChain LLM. This was lost in the
rewrite. Restore it by using LLMModel.provider_url and implementing
the attribute inspection in LangChainLLMAdapter.provider_url.1 parent 6e581da commit bd9227e
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| 287 | + | |
| 288 | + | |
286 | 289 | | |
287 | 290 | | |
288 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | 133 | | |
136 | 134 | | |
137 | 135 | | |
| |||
0 commit comments