chore(vocero): remove the legacy ApiPilot integration (#3)

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
This commit is contained in:
2026-10-08 11:23:41 -04:00
parent 0311d3f1ff
commit dfed03ac7c
39 changed files with 198 additions and 3314 deletions
-7
View File
@@ -29,13 +29,6 @@ class ReasoningRequest(BaseModel):
episode_id: str | None = None
class ApipilotExecuteRequest(BaseModel):
"""Body for the ApiPilot execute proxy endpoint. Mirrors §2.2 request shape."""
name: str
arguments: dict = {}
class QueueEndPayload(BaseModel):
"""A view of a decoded beacon object, preserving the legacy loose value.
-35
View File
@@ -27,7 +27,6 @@ class ConfigResponse(OpenResponse):
debugPrompt: bool
startSessionMode: str
theme: str
apipilot: bool
class SearchResult(OpenResponse):
@@ -62,42 +61,8 @@ class ReportsResponse(OpenResponse):
note: str | None = None
class ToolInvocation(OpenResponse):
name: str
success: bool
result_length: int
class ReasoningResponse(OpenResponse):
answer: str
usage_pass2: Any = None
apipilot_invoked: ToolInvocation | None = None
class ToolDefinition(OpenResponse):
name: str
description: str
parameters: dict[str, Any]
requires_auth: bool
class ToolCatalog(OpenResponse):
count: int
include_unauthorized: bool
tools: list[ToolDefinition]
class ToolCatalogResponse(OpenResponse):
success: bool
data: ToolCatalog | None
error: Any
class ToolExecutionResponse(OpenResponse):
success: bool
# The upstream may omit these fields or return any JSON value for them.
data: Any = None
error: Any = None
class AllocationResponse(OpenResponse):