align repo with upstream

pull/700/head
Patrick Devaney 1 week ago
parent c46ea3fe24
commit e11a7dbb54

@ -19,7 +19,7 @@ class ToolDefinition:
callable: Optional[Callable] = None
def extract_type_hints(func: Callable) -> dict:
def extract_type_hints(func: Callable) -> Dict[str, Any]:
"""Extract parameter types from function type hints."""
return typing.get_type_hints(func)
@ -111,6 +111,9 @@ class ExecutionContext:
history: List[Dict[str, Any]] = field(default_factory=list)
def func():
pass
hints = get_type_hints(func)
@ -417,4 +420,4 @@ agent = ToolAgent(
result = agent.run(
"Calculate returns for $10000 invested at 7% for 10 years"
)
)

@ -80,7 +80,7 @@ rich = "*"
# sentence-transformers = "*"
swarm-models = "*"
termcolor = "*"
clusterops = { git = "https://github.com/The-Swarm-Corporation/clusterops.git", branch = "main" }
clusterops = "*"
# [tool.poetry.extras]

@ -24,7 +24,7 @@ pytest>=8.1.1
pandas>=2.2.2
networkx
aiofiles
git+https://github.com/The-Swarm-Corporation/clusterops.git@main#egg=clusterops
clusterops
reportlab
doc-master
termcolor
Loading…
Cancel
Save