Commit 3be434d
committed
Add PDF support to OpenRouter provider for Opus 4.7
Adds KilnMimeType.PDF to multimodal_mime_types and sets
multimodal_requires_pdf_as_image=True (OpenRouter's PDF routing through
Mistral OCR breaks LiteLLM parsing, so PDFs must be sent as images).
https://claude.ai/code/session_01Xnfzt91McoMdqaiRv1g6xg1 parent f968e0e commit 3be434d
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1936 | 1936 | | |
1937 | 1937 | | |
1938 | 1938 | | |
| 1939 | + | |
1939 | 1940 | | |
| 1941 | + | |
1940 | 1942 | | |
1941 | 1943 | | |
1942 | 1944 | | |
| |||
0 commit comments