Duibonduil's picture
Upload 6 files
f376f50 verified

A newer version of the Gradio SDK is available: 5.42.0

Upgrade

MCP demo

  1. Start example mcp server use the command:
simple_server.py
  1. Configure the llm_api_key and llm_base_url, or relevant parameters.
  2. Run the pipeline:
    python run.py
  1. View the logs in the console, and the following key information indicates successful execution:
mcp observation: container_id=None observer=None ability=None from_agent_name=None to_agent_name=None content='{"result": 25000.0}' dom_tree=None image=None action_result=[ActionResult(is_done=False, success=False, content='{"result": 25000.0}', error=None, keep=True, action_name='divide', tool_name='simple-calculator', tool_id='call_Sb4c16wDzUvdTPaqqqdNH6Er', metadata={})] images=[] info={}