Spaces:
Sleeping
Sleeping
File size: 724 Bytes
f376f50 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
MCP demo
1. Start example mcp server use the command:
```shell
simple_server.py
```
2. Configure the `llm_api_key` and `llm_base_url`, or relevant parameters.
3. Run the pipeline:
```shell
python run.py
```
4. View the logs in the console, and the following key information indicates successful execution:
```text
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={}
``` |