Commit 97249b4
fix: use input_type instead of task for NVIDIA NIM embeddings
NVIDIA NIM API now strictly validates request bodies and rejects unknown
fields. The task parameter (used by Jina and others) causes a 400 error:
"Extra inputs are not permitted, input: 'passage'".
Route by provider: NVIDIA endpoints get input_type, others get task.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e7fbcc1 commit 97249b4
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
457 | 464 | | |
458 | 465 | | |
459 | 466 | | |
| |||
0 commit comments