Skip to content
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

Add Support for gpt-4-turbo-2024-04-09 #445

Closed
SlickyNicky opened this issue Apr 10, 2024 · 4 comments
Closed

Add Support for gpt-4-turbo-2024-04-09 #445

SlickyNicky opened this issue Apr 10, 2024 · 4 comments

Comments

@SlickyNicky
Copy link

New model release: https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4

@Clemens123
Copy link

Hi, I'm not exactly sure why the pull request mentioned above was closed, but will gpt-4-turbo-2024-04-09 become available in chatgpt-web? It's supposed to be a substantial improvement and it would be a pitty if there were technical reasons preventing that :(

@PrimalOutshoot
Copy link

PrimalOutshoot commented Apr 17, 2024

I have tried adding 'gpt-4-turbo': { ...gpt4128kpreview }, to export const chatModels : Record<string, ModelDetail> in the src > lib > providers > openai> models.svelte

It has a context window of 128k same as the preview, but for some reason I get an Error 200 - Unknown Response. The problem is when I add gpt-4-turbo to the chatModels function, using these settings:

const gpt4128kpreview = { ...chatModelBase, prompt: 0.00001, // $0.01 per 1000 tokens prompt completion: 0.00003, // $0.03 per 1000 tokens completion max: 131072 // 128k max token buffer }

I get an Error 200 with the gpt4-turbo model

export const chatModels : Record<string, ModelDetail> = { 'gpt-4-turbo': { ...gpt4128kpreview }, 'gpt-4-turbo-preview': { ...gpt4128kpreview } }

gpt-4-turbo should in theory work with the same settings as gpt-4-turbo-preview, but it throws back an "Error 200" instead, which I have not been able to resolve on my end due to lack of knowledge in the area. I have been waiting for someone more knowledgeable than me to throw a solution in chatgpt-web, but it has not been as simple for me to add gpt-4-turbo as I have added other models manually in the past. I am not sure what setting it is supposed to have, or why it is not working, and search has not been fruitful. Would love to see support or working implementation added for gpt-4-turbo.

@tikkamasalla
Copy link

same, been waiting for it for a while

@Niek
Copy link
Owner

Niek commented Apr 29, 2024

Fixed in #448

@Niek Niek closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants