From c9b2e898eeca0f11224b95d3d443920dfa363492 Mon Sep 17 00:00:00 2001 From: Joao Moura Date: Fri, 24 Nov 2023 17:09:06 -0300 Subject: [PATCH] Allwoing to use other LLM that are not OpenAI --- crewai/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crewai/agent.py b/crewai/agent.py index 005f48b64..b24b59e04 100644 --- a/crewai/agent.py +++ b/crewai/agent.py @@ -18,7 +18,7 @@ class Agent(BaseModel): role: str = Field(description="Role of the agent") goal: str = Field(description="Objective of the agent") backstory: str = Field(description="Backstory of the agent") - llm: Optional[OpenAI] = Field(description="LLM that will run the agent") + llm: Optional[Any] = Field(description="LLM that will run the agent") verbose: bool = Field( description="Verbose mode for the Agent Execution", default=False