BuilderIO / gpt-assistant

An experiment to give an autonomous GPT agent access to a browser and have it accomplish tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Metacowboy opened this issue · 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 ?