Allwoing to use other LLM that are not OpenAI

This commit is contained in:
Joao Moura
2023-11-24 17:09:06 -03:00
parent 96a2b5b236
commit 7ad5680453

View File

@@ -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