Refactor: REST API langfuse api-key (#14315)

REST API langfuse api-key
This commit is contained in:
Wang Qi
2026-04-23 11:36:16 +08:00
committed by GitHub
parent f98597a19e
commit e79b896637
3 changed files with 5 additions and 5 deletions

View File

@@ -79,7 +79,7 @@ def _load_langfuse_app(monkeypatch):
stub_langfuse.Langfuse = _FakeLangfuseClient
monkeypatch.setitem(sys.modules, "langfuse", stub_langfuse)
module_path = repo_root / "api" / "apps" / "langfuse_app.py"
module_path = repo_root / "api" / "apps" / "restful_apis" / "langfuse_api.py"
spec = importlib.util.spec_from_file_location("test_langfuse_app_unit", module_path)
module = importlib.util.module_from_spec(spec)
module.manager = _DummyManager()