mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
Merge pull request #17485 from BerriAI/litellm_ragflow_test_fix
fix: test_default_api_base for ragfow
This commit is contained in:
commit
31f1bf0539
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue