mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-31 13:03:49 +08:00
Feat: tenant llm provider (#14595)
### What problem does this PR solve? Python implementation of the Go-based model_provider API suite. ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: bill <yibie_jingnian@163.com>
This commit is contained in:
@@ -120,9 +120,8 @@ def _load_dify_retrieval(monkeypatch, *, kb, accessible, request_body, chunks=No
|
||||
_stub(
|
||||
monkeypatch,
|
||||
"api.db.joint_services.tenant_model_service",
|
||||
get_model_config_by_id=lambda *_a, **_k: {},
|
||||
get_model_config_by_type_and_name=lambda *_a, **_k: {},
|
||||
get_tenant_default_model_by_type=lambda *_a, **_k: {},
|
||||
get_model_config_from_provider_instance=lambda *_a, **_k: {},
|
||||
)
|
||||
|
||||
_stub(
|
||||
|
||||
Reference in New Issue
Block a user