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:
@@ -25,7 +25,7 @@ _CALL = re.compile(r"<<<VOCERO_MCP_CALL:NAME=([A-Za-z0-9_]+),ARGUMENTS=(.*)>>>",
|
||||
|
||||
|
||||
def selection(text: str) -> tuple[str, dict[str, Any]] | None:
|
||||
"""Use a marker that survives the speech pipeline's ApiPilot sanitizer."""
|
||||
"""Parse the internal tool selection marker returned by the speech model."""
|
||||
if "VOCERO_MCP" not in text.upper() and not text.lstrip().startswith("<<<"):
|
||||
return None
|
||||
match = _CALL.fullmatch(text.strip())
|
||||
|
||||
Reference in New Issue
Block a user