Skip to content

Commit f5acf1d

Browse files
committed
gpt-4-turbo is not in preview anymore
1 parent 5f171b8 commit f5acf1d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/app/search/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function Search() {
228228
elapsedTimeMs={elapsedTimeMs}
229229
estimatedTimeSec={estimatedTimeSec}
230230
isLoading={isLoading}
231-
model={settings.openAIModel || 'gpt-4-turbo-preview' }
231+
model={settings.openAIModel || 'gpt-4-turbo' }
232232
provider="OpenAI"
233233
stage={`JSON ${pass}/${maxNbPasses}`}
234234
/>

src/app/settings/page.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ const fields: Partial<SettingsFields> & MiscPanelFields = {
107107
openAIModel: {
108108
label: 'Language Model',
109109
description: '',
110-
placeholder: 'Enter the model (default: gpt-4-turbo-preview)',
110+
placeholder: 'Enter the model (default: gpt-4-turbo)',
111111
type: 'text',
112-
defaultValue: 'gpt-4-turbo-preview',
112+
defaultValue: 'gpt-4-turbo',
113113
},
114114
/*
115115
customPrompts: {

src/hooks/useSettings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const useSettings = (
1010
huggingFaceKey: '',
1111
huggingFaceModel: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
1212
openAIKey: '',
13-
openAIModel: 'gpt-4-turbo-preview',
13+
openAIModel: 'gpt-4-turbo',
1414
customTasksPrompt: '',
1515
customHtmlPrompt: '',
1616
customScriptPrompt: '',

src/providers/openai/complete.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export async function complete({
1515
}: CompleteFnParams): Promise<string> {
1616

1717
// don't do this if you deploy the latent browser on a server!!!
18-
persisted.model = model || 'gpt-4-turbo-preview'
18+
persisted.model = model || 'gpt-4-turbo'
1919

2020
const openai = await getOpenAI(apiKey)
2121

0 commit comments

Comments
 (0)