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

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

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