gpt-assistant icon indicating copy to clipboard operation
gpt-assistant copied to clipboard

The model: `gpt-4` does not exist -JS Error

Open Metacowboy opened this issue 2 years ago • 0 comments

I dont have acces to gpt-4 API closed beta When i chang the env config to gpt-3.5-turbo results in following error Testing promt : "Book me a table for 3 at 8pm for indian food"

{ "message": "This model's maximum context length is 4097 tokens. However, your messages resulted in 6802 tokens. Please reduce the length of the messages.", "type": "invalid_request_error", "param": "messages", "code": "context_length_exceeded" }

It alwise try to get the source html what results in to many tokens

###################### Using the 2nd test promt "What dog breed is best for me" result in follwing error after answering the question

Dynamic require of "_.js" is not supported in @builder.io/qwik/server.mjs:18:9

Any suggestion for a workaround ?

Metacowboy avatar May 07 '23 03:05 Metacowboy