Merge pull request #17485 from BerriAI/litellm_ragflow_test_fix

fix: test_default_api_base for ragfow
This commit is contained in:
Sameer Kankute 2025-12-04 21:57:18 +05:30 committed by GitHub
commit 31f1bf0539
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,6 +137,9 @@ def test_default_api_base():
# Get the API base for the given provider
if provider == "github_copilot":
continue
# Skip ragflow as it requires specific model format: ragflow/chat/{id}/{model} or ragflow/agent/{id}/{model}
if provider == "ragflow":
continue
_, _, _, api_base = _get_openai_compatible_provider_info(
model=f"{provider}/*", api_base=None, api_key=None, dynamic_api_key=None
)