Skip to content

Commit

Permalink
Changed default OPENAI model to GPT-4o
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Beauchamp committed May 23, 2024
1 parent a314da2 commit 08eda93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agency_swarm/agents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(
api_params: Dict[str, Dict[str, str]] = None,
file_ids: List[str] = None,
metadata: Dict[str, str] = None,
model: str = "gpt-4-turbo",
model: str = "gpt-4o",
validation_attempts: int = 1,
max_prompt_tokens: int = None,
max_completion_tokens: int = None,
Expand All @@ -94,7 +94,7 @@ def __init__(
api_headers (Dict[str,Dict[str, str]], optional): Headers to be used for the openapi requests. Each key must be a full filename from schemas_folder. Defaults to an empty dictionary.
api_params (Dict[str, Dict[str, str]], optional): Extra params to be used for the openapi requests. Each key must be a full filename from schemas_folder. Defaults to an empty dictionary.
metadata (Dict[str, str], optional): Metadata associated with the agent. Defaults to an empty dictionary.
model (str, optional): The model identifier for the OpenAI API. Defaults to "gpt-4-turbo-preview".
model (str, optional): The model identifier for the OpenAI API. Defaults to "gpt-4o".
validation_attempts (int, optional): Number of attempts to validate the response with response_validator function. Defaults to 1.
max_prompt_tokens (int, optional): Maximum number of tokens allowed in the prompt. Defaults to None.
max_completion_tokens (int, optional): Maximum number of tokens allowed in the completion. Defaults to None.
Expand Down

0 comments on commit 08eda93

Please sign in to comment.