refactor: unify host agent runtime access

This commit is contained in:
jxxghp
2026-08-24 06:42:07 +08:00
parent 46c5eec54e
commit 8e669d415e
11 changed files with 55 additions and 23 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ from app.api.openai_utils import (
build_session_id,
)
from app.api.presentation.sse import build_sse_response, encode_named_event
from app.agent.runtime_loader import get_running_agent_manager
from app.application.agent import get_running_agent_manager
from app.application.configuration import get_api_runtime_config_snapshot
from app.adapters.web.security.access import anthropic_api_key_header
from app.api.context import (