Vocero now retrieves AquaPortal content through authenticated MCP. This removes the obsolete ApiPilot integration from the API and browser while preserving the separately deployed speech pipeline. Release notes: - Removed ApiPilot endpoints, configuration, credential overrides, and HTTP/realtime tool execution. - Removed browser ApiPilot catalog loading and prompt generation while retaining authenticated MCP discovery. - Updated regression coverage and operating documentation for the retired routes and settings. Reviewed-on: AquaPortal/s2s#3
37 lines
1.5 KiB
Python
37 lines
1.5 KiB
Python
from __future__ import annotations
|
|
|
|
from vocero_api.core import config as settings
|
|
from vocero_api.core import logging as app_logging
|
|
|
|
app_logging.logger.info(
|
|
"[STARTUP] Other externals — reasoning=%s serper=%s lb=%s s2sProxy=%s s2sDirect=%s userAuth=%s reportsApi=%s injectReports=%s reportsHintMax=%d reportsInjectMode=%s injectToday=%s summaryApi=%s summaryText=%s loginApi=%s injectProfile=%s debugPrompt=%s startSessionMode=%s theme=%s",
|
|
settings.S2S_REASONING_TYPE,
|
|
bool(settings.SERPER_KEY),
|
|
bool(settings.LOAD_BALANCER_URL),
|
|
bool(settings.S2S_PROXY_TARGET),
|
|
bool(settings.SPEECH_TO_SPEECH_URL),
|
|
bool(settings.VOCERO_USER_PHONE_AUTH_URL),
|
|
bool(settings.S2S_REPORT_LIST),
|
|
settings.S2S_INJECT_REPORTS,
|
|
settings.S2S_REPORTS_QUICK_HINT_MAX,
|
|
settings.S2S_REPORTS_INJECT_MODE,
|
|
settings.S2S_INJECT_TODAY,
|
|
bool(settings.S2S_LATEST_SUMMARY),
|
|
bool(settings.S2S_LATEST_SUMMARY_TEXT),
|
|
bool(settings.S2S_LOGIN_BY_PHONE),
|
|
settings.S2S_INJECT_PROFILE,
|
|
settings.S2S_DEBUG_PROMPT,
|
|
settings.S2S_START_SESSION_MODE or "-",
|
|
settings.S2S_THEME or "-",
|
|
)
|
|
|
|
if settings.S2S_MCP_URL:
|
|
app_logging.logger.info(
|
|
"[STARTUP] AquaPortal MCP enabled: per-caller sessions, legacy content preloads disabled; "
|
|
"operationTimeout=%ds maxCallsPerTurn=%d conversationTtl=%ds capacity=%d",
|
|
settings.S2S_MCP_TIMEOUT_SEC,
|
|
settings.S2S_MCP_MAX_CALLS_PER_TURN,
|
|
settings.S2S_CONVERSATION_TTL_SEC,
|
|
settings.S2S_MAX_CONVERSATIONS,
|
|
)
|