Commit 799817b
fix: use v1 sources format instead of deprecated http_sources for URL conversion
The /v1/convert/source endpoint requires the new discriminated union format
with "sources": [{"kind": "http", "url": ...}] instead of the deprecated
"http_sources" field. Updated both sync and async code paths and tests.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6f4efad commit 799817b
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- integrations/docling_serve
- src/haystack_integrations/components/converters/docling_serve
- tests
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
0 commit comments