refactor: unify skills+cli runtime and streamline ag-ui flow

This commit is contained in:
qzl
2026-04-22 17:09:37 +08:00
parent eeed737949
commit 4d55df45ab
111 changed files with 4858 additions and 3264 deletions
@@ -5,6 +5,7 @@ from unittest.mock import MagicMock
import pytest
from core.http.errors import ApiProblemError
from core.config.settings import config
from v1.auth.gateway import SupabaseAuthGateway
from v1.auth.schemas import (
@@ -28,6 +29,7 @@ class TestSupabaseAuthGateway:
"v1.auth.gateway.supabase_service.get_admin_client",
lambda: mock_admin_client,
)
monkeypatch.setattr(config.runtime, "environment", "test")
return SupabaseAuthGateway(), mock_client, mock_admin_client
@pytest.mark.asyncio