fix formatting
This commit is contained in:
@@ -59,9 +59,7 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
|||||||
voice_id="71a7ad14-091c-4e8e-a314-022ece01c121", # British Reading Lady
|
voice_id="71a7ad14-091c-4e8e-a314-022ece01c121", # British Reading Lady
|
||||||
)
|
)
|
||||||
|
|
||||||
llm = GoogleLLMService(
|
llm = GoogleLLMService(api_key=os.getenv("GOOGLE_API_KEY"), model="gemini-2.0-flash")
|
||||||
api_key=os.getenv("GOOGLE_API_KEY"), model="gemini-2.0-flash"
|
|
||||||
)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Github MCP docs: https://github.com/github/github-mcp-server
|
# Github MCP docs: https://github.com/github/github-mcp-server
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ class MCPClient(BaseObject):
|
|||||||
|
|
||||||
properties = tool_schema["input_schema"].get("properties", {})
|
properties = tool_schema["input_schema"].get("properties", {})
|
||||||
required = tool_schema["input_schema"].get("required", [])
|
required = tool_schema["input_schema"].get("required", [])
|
||||||
|
|
||||||
# Only clean properties for Google/Gemini LLM services
|
# Only clean properties for Google/Gemini LLM services
|
||||||
if llm and self._is_google_llm(llm):
|
if llm and self._is_google_llm(llm):
|
||||||
logger.debug(f"Detected Google LLM service, cleaning schema for Gemini compatibility")
|
logger.debug(f"Detected Google LLM service, cleaning schema for Gemini compatibility")
|
||||||
|
|||||||
Reference in New Issue
Block a user