Skip to content

Commit c02a457

Browse files
committed
lower python requirements to prepare PR on smolagents
1 parent 1f758e6 commit c02a457

File tree

4 files changed

+652
-12
lines changed

4 files changed

+652
-12
lines changed

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12
1+
3.10

examples/smolagents_pubmed.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import os
1414

1515
from mcp import StdioServerParameters
16-
# from smolagents import CodeAgent, HfApiModel
16+
from smolagents import CodeAgent, HfApiModel
1717

1818
from mcpadapt.core import MCPAdapt
1919
from mcpadapt.smolagents_adapter import SmolAgentsAdapter
@@ -27,5 +27,5 @@
2727
SmolAgentsAdapter(),
2828
) as tools:
2929
print(tools[0](request={"term": "efficient treatment hangover"}))
30-
# agent = CodeAgent(tools=tools, model=HfApiModel())
31-
# agent.run("Find studies about hangover?")
30+
agent = CodeAgent(tools=tools, model=HfApiModel())
31+
agent.run("Find studies about hangover?")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "mcpadapt"
33
dynamic = ["version"]
44
description = "Adapt MCP servers to many agentic framework."
55
readme = "README.md"
6-
requires-python = ">=3.12"
6+
requires-python = ">=3.10"
77
dependencies = [
88
"mcp>=1.2.0",
99
"jsonref>=1.1.0",

0 commit comments

Comments
 (0)