feat: support NVIDIA model API

This commit is contained in:
Manx98
2026-03-10 12:32:48 +08:00
committed by lyingbug
parent b7ed54f8de
commit 5afc81d00b
14 changed files with 444 additions and 2 deletions
@@ -48,6 +48,8 @@ func TestDetectProvider(t *testing.T) {
{"https://api.xiaomimimo.com/v1", ProviderMimo},
{"https://custom-endpoint.example.com/v1", ProviderGeneric},
{"http://localhost:11434/v1", ProviderGeneric},
{"https://integrate.api.nvidia.com/v1", ProviderNvidia},
{"https://ai.api.nvidia.com/v1/retrieval/nvidia/reranking", ProviderNvidia},
}
for _, tt := range tests {