feat(langfuse): 게이트웨이 fabrix 트레이스는 LANGFUSE_TRACE_GATEWAY=1 일 때만 — 질문 하나 = 행 하나 유지

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
lee-hyeon-cheol
2026-09-22 14:08:55 +09:00
co-authored by Claude Fable 5.1
parent c9cc6b7eeb
commit e801ae6a6f
5 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ async def test_401_retries_other_auth_shape_and_remembers(upstream):
assert len(calls) == n + 1 and calls[-1].headers["x-openapi-token"] == "Bearer tok"
@override_settings(FABRIX_ENV=FULL_ENV, LANGFUSE={"host": "http://lf.test", "public_key": "pk", "secret_key": "sk"})
@override_settings(FABRIX_ENV=FULL_ENV, LANGFUSE={"host": "http://lf.test", "public_key": "pk", "secret_key": "sk", "gateway": True})
async def test_stream_reports_generation_to_langfuse(upstream, monkeypatch):
import asyncio
+1 -1
View File
@@ -10,7 +10,7 @@ from django.test import override_settings
from apps.gateway import langfuse
LF = {"host": "http://lf.test", "public_key": "pk-lf-a", "secret_key": "sk-lf-b"}
LF = {"host": "http://lf.test", "public_key": "pk-lf-a", "secret_key": "sk-lf-b", "gateway": False}
@pytest.fixture