From ba6bb08b71aa359d21b17c925bbef3bad3a361b2 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Mon, 13 May 2024 18:46:14 -0400 Subject: [PATCH] Use gpt-4o by default --- src/marvin/settings.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/marvin/settings.py b/src/marvin/settings.py index b5c86edc1..50dc6f72a 100644 --- a/src/marvin/settings.py +++ b/src/marvin/settings.py @@ -36,7 +36,7 @@ class ChatCompletionSettings(MarvinSettings): model_config = SettingsConfigDict( env_prefix="marvin_chat_completions_", extra="ignore" ) - model: str = Field(description="The default chat model to use.", default="gpt-4") + model: str = Field(description="The default chat model to use.", default="gpt-4o") temperature: float = Field(description="The default temperature to use.", default=1) @@ -54,9 +54,7 @@ def encoder(self): class ChatVisionSettings(MarvinSettings): model_config = SettingsConfigDict(env_prefix="marvin_chat_vision_", extra="ignore") - model: str = Field( - description="The default vision model to use.", default="gpt-4-vision-preview" - ) + model: str = Field(description="The default vision model to use.", default="gpt-4o") temperature: float = Field(description="The default temperature to use.", default=1) max_tokens: int = 500 @@ -133,13 +131,13 @@ class AssistantSettings(MarvinSettings): """Settings for the assistant API. Attributes: - model: The default assistant model to use, defaults to `gpt-4-1106-preview`. + model: The default assistant model to use """ model_config = SettingsConfigDict(env_prefix="marvin_assistant_") model: str = Field( - default="gpt-4-1106-preview", + default="gpt-4o", description="The default assistant model to use.", )