From fc062384bc990a26e20082a375a2bf1bc542fdf1 Mon Sep 17 00:00:00 2001 From: Arsenii Shatokhin Date: Thu, 1 Feb 2024 07:42:57 +0400 Subject: [PATCH] Changed default model to the latest gpt-4 preview --- agency_swarm/agents/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agency_swarm/agents/agent.py b/agency_swarm/agents/agent.py index f8670612..ae4fd044 100644 --- a/agency_swarm/agents/agent.py +++ b/agency_swarm/agents/agent.py @@ -31,7 +31,7 @@ def __init__(self, id: str = None, name: str = None, description: str = None, in tools: List[Union[Type[BaseTool], Type[Retrieval], Type[CodeInterpreter]]] = None, files_folder: Union[List[str], str] = None, schemas_folder: Union[List[str], str] = None, api_headers: Dict[str, Dict[str, str]] = None, api_params: Dict[str, Dict[str, str]] = None, - file_ids: List[str] = None, metadata: Dict[str, str] = None, model: str = "gpt-4-1106-preview"): + file_ids: List[str] = None, metadata: Dict[str, str] = None, model: str = "gpt-4-turbo-preview"): """ Initializes an Agent with specified attributes, tools, and OpenAI client.