moved needs_mcp_clean_schema to LLMService

This commit is contained in:
Yousif Astarabadi
2025-06-26 19:57:58 -07:00
parent 0c20668008
commit 86c26fd64c
4 changed files with 80 additions and 7 deletions

View File

@@ -524,6 +524,17 @@ class GeminiMultimodalLiveLLMService(LLMService):
"""
return True
def needs_mcp_clean_schema(self) -> bool:
"""Check if this LLM service requires MCP schema cleaning.
Google/Gemini has stricter JSON schema validation and requires
certain properties to be removed or modified for compatibility.
Returns:
True for Google/Gemini services.
"""
return True
def set_audio_input_paused(self, paused: bool):
"""Set the audio input pause state.