Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
add react + gpt-4 turbo warning
Abi Rajaf9c4dd9c7c25
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsxindex a379c097..eef3a116 100644--- a/frontend/src/App.tsx+++ b/frontend/src/App.tsx@@ -84,6 +84,11 @@ function App() {const wsRef = useRef<WebSocket>(null);+ const showReactWarning =+ selectedCodeGenerationModel ===+ CodeGenerationModel.GPT_4_TURBO_2024_04_09 &&+ settings.generatedCodeConfig === Stack.REACT_TAILWIND;+// Indicate coding state using the browser tab's favicon and titleuseBrowserTabIndicator(appState === AppState.CODING);@@ -391,6 +396,13 @@ function App() {}/>+ {showReactWarning && (+ <div className="text-sm bg-yellow-200 rounded p-2">+ Sorry - React is not currently working with GPT-4 Turbo. Please+ use GPT-4 Vision or Claude Sonnet. We are working on a fix.+ </div>+ )}+{appState !== AppState.CODE_READY && <TipLink />}{IS_RUNNING_ON_CLOUD && !settings.openAiApiKey && <OnboardingNote />}