-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default gpt-4, failover #746
Conversation
src/marvin/settings.py
Outdated
model: str = Field( | ||
description="The default chat model to use.", default="gpt-3.5-turbo" | ||
model: str = Field(description="The default chat model to use.", default="gpt-4") | ||
_fallback_model: str = PrivateAttr( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest either making this public or moving it to a global variable in the client module; private settings are going to be very difficult to discover.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made a var in the client module in a657902
src/marvin/settings.py
Outdated
@@ -44,8 +44,9 @@ def __setattr__(self, name: str, value: Any) -> None: | |||
|
|||
class ChatCompletionSettings(MarvinSettings): | |||
model_config = SettingsConfigDict(env_prefix="marvin_chat_completion_") | |||
model: str = Field( | |||
description="The default chat model to use.", default="gpt-3.5-turbo" | |||
model: str = Field(description="The default chat model to use.", default="gpt-4") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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-4-1106-preview") |
I think if you have GPT-4 you have the turbo preview, so this is better, cheaper and much larger context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated in a657902
No description provided.