mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 08:12:39 +00:00
fix: Complete hosted tools implementation with remaining changes
- Finalize base_agent.py and agent_utils.py updates - Include comprehensive test suite for hosted tools - Update lock file with dependencies Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -11,7 +11,6 @@ from crewai.agents.parser import (
|
||||
)
|
||||
from crewai.llm import LLM
|
||||
from crewai.llms.base_llm import BaseLLM
|
||||
from crewai.tools import BaseTool as CrewAITool
|
||||
from crewai.tools.base_tool import BaseTool
|
||||
from crewai.tools.structured_tool import CrewStructuredTool
|
||||
from crewai.tools.tool_types import ToolResult
|
||||
@@ -27,7 +26,7 @@ console = Console()
|
||||
|
||||
def parse_tools(tools: List[Union[BaseTool, dict]]) -> List[Union[CrewStructuredTool, dict]]:
|
||||
"""Parse tools to be used for the task."""
|
||||
tools_list = []
|
||||
tools_list: List[Union[CrewStructuredTool, dict]] = []
|
||||
|
||||
for tool in tools:
|
||||
if isinstance(tool, dict):
|
||||
|
||||
Reference in New Issue
Block a user