mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-18 23:11:12 +02:00
Merge pull request #1597 from zzh-github/feature/openai-compatible-raw
Add raw OpenAI-compatible provider without /v1 normalization
This commit is contained in:
commit
d1fa9306cb
4 changed files with 35 additions and 1 deletions
|
|
@ -87,6 +87,15 @@ REGISTRY: dict[str, ProviderSpec] = {
|
|||
"bearer",
|
||||
"OpenAI-compatible provider",
|
||||
),
|
||||
"openai_compatible_raw": ProviderSpec(
|
||||
Transport.NATIVE,
|
||||
"openai",
|
||||
"none",
|
||||
None,
|
||||
True,
|
||||
"bearer",
|
||||
"OpenAI-compatible raw endpoint",
|
||||
),
|
||||
"lm_studio": ProviderSpec(
|
||||
Transport.OPENAI_COMPATIBLE,
|
||||
"openai",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue