Typo of uv instead of uvx
I tried the example code. Didn't work. The official repo gave the right code which is `uvx` to execute the code. https://github.com/grll/pubmedmcp
This commit is contained in:
@@ -282,7 +282,7 @@ from smolagents import ToolCollection, CodeAgent
|
||||
from mcp import StdioServerParameters
|
||||
|
||||
server_parameters = StdioServerParameters(
|
||||
command="uv",
|
||||
command="uvx",
|
||||
args=["--quiet", "pubmedmcp@0.1.3"],
|
||||
env={"UV_PYTHON": "3.12", **os.environ},
|
||||
)
|
||||
@@ -299,4 +299,4 @@ With this setup, Alfred can quickly discover luxurious entertainment options, en
|
||||
- [Tools Tutorial](https://huggingface.co/docs/smolagents/tutorials/tools) - Explore this tutorial to learn how to work with tools effectively.
|
||||
- [Tools Documentation](https://huggingface.co/docs/smolagents/v1.8.1/en/reference/tools) - Comprehensive reference documentation on tools.
|
||||
- [Tools Guided Tour](https://huggingface.co/docs/smolagents/v1.8.1/en/guided_tour#tools) - A step-by-step guided tour to help you build and utilize tools efficiently.
|
||||
- [Building Effective Agents](https://huggingface.co/docs/smolagents/tutorials/building_good_agents) - A detailed guide on best practices for developing reliable and high-performance custom function agents.
|
||||
- [Building Effective Agents](https://huggingface.co/docs/smolagents/tutorials/building_good_agents) - A detailed guide on best practices for developing reliable and high-performance custom function agents.
|
||||
|
||||
Reference in New Issue
Block a user