From f75294ca648235b1c40a217a1eb6ede3d5f8ab39 Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Sat, 22 Jun 2024 19:41:56 +0800 Subject: [PATCH] update better model banner to include sonnet 3.5 --- frontend/src/App.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 5156a0f..82bd0a0 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -94,8 +94,10 @@ function App() { CodeGenerationModel.GPT_4_TURBO_2024_04_09 && settings.generatedCodeConfig === Stack.REACT_TAILWIND; - const showGpt4OMessage = + const showBetterModelMessage = selectedCodeGenerationModel !== CodeGenerationModel.GPT_4O_2024_05_13 && + selectedCodeGenerationModel !== + CodeGenerationModel.CLAUDE_3_5_SONNET_2024_06_20 && appState === AppState.INITIAL; const showSelectAndEditFeature = @@ -432,11 +434,11 @@ function App() { )} - {showGpt4OMessage && ( + {showBetterModelMessage && (

- Now supporting GPT-4o. Higher quality and 2x faster. Give it a - try! + Now supporting GPT-4o and Claude Sonnet 3.5. Higher quality and + 2x faster. Give it a try!

)}