What happened?
Is the PDF_PROVIDER_CONFIGS litellm's supportsNative option supposed to be set to true?
based of the comment on openai-compatible it seems that there settings are swapped.
I also can't find a way to inject custom PDF_PROVIDER_CONFIGSs via the Neurolink.generate or any other exposed method.
|
litellm: { |
|
maxSizeMB: 10, |
|
maxPages: 100, |
|
supportsNative: true, |
|
requiresCitations: false, |
|
apiType: "files-api", |
|
}, |
|
"openai-compatible": { |
|
maxSizeMB: 10, |
|
maxPages: 100, |
|
supportsNative: false, // LiteLLM is a proxy — underlying model may not support native PDF; default to safe text extraction |
|
requiresCitations: false, |
|
apiType: "files-api", |
|
}, |
* - Native PDF support for providers that accept PDF directly (Google AI, Vertex, OpenAI, Anthropic, Bedrock)
* - PDF → Image conversion for providers that don't support native PDF (Azure, Mistral, Ollama)
Even the comment above indicates that, would be nice to have that customizable for litellm.
I can open an PR in case that is true.
AI Provider
Not applicable
Component
SDK
Steps to Reproduce
Use litellm as provider and attach a pdf.
Environment
- OS: linux
- Node.js version: 25
- NeuroLink version: release branch
- Package manager: pnpm
Relevant log output
Code of Conduct
What happened?
Is the
PDF_PROVIDER_CONFIGSlitellm'ssupportsNativeoption supposed to be set totrue?based of the comment on
openai-compatibleit seems that there settings are swapped.I also can't find a way to inject custom
PDF_PROVIDER_CONFIGSs via theNeurolink.generateor any other exposed method.neurolink/src/lib/utils/pdfProcessor.ts
Lines 100 to 113 in 8212722
Even the comment above indicates that, would be nice to have that customizable for litellm.
I can open an PR in case that is true.
AI Provider
Not applicable
Component
SDK
Steps to Reproduce
Use litellm as provider and attach a pdf.
Environment
Relevant log output
Code of Conduct