diff --git a/front/lib/api/assistant/global_agents.ts b/front/lib/api/assistant/global_agents.ts index 7b3d3705ccd4..7bef824e49d4 100644 --- a/front/lib/api/assistant/global_agents.ts +++ b/front/lib/api/assistant/global_agents.ts @@ -863,12 +863,9 @@ function _getDustGlobalAgent( const pictureUrl = "https://dust.tt/static/systemavatar/dust_avatar_full.png"; const modelConfiguration = (() => { - // // If we can use Sonnet 3.5, we use it. Otherwise we use the default model. - // if (auth.isUpgraded() && isProviderWhitelisted(owner, "anthropic")) { - // return CLAUDE_3_5_SONNET_DEFAULT_MODEL_CONFIG; - // } - if (auth.isUpgraded() && isProviderWhitelisted(owner, "openai")) { - return GPT_4O_MODEL_CONFIG; + // If we can use Sonnet 3.5, we use it. Otherwise we use the default model. + if (auth.isUpgraded() && isProviderWhitelisted(owner, "anthropic")) { + return CLAUDE_3_5_SONNET_DEFAULT_MODEL_CONFIG; } return auth.isUpgraded() ? getLargeWhitelistedModel(owner)