JudiniLabs / code-gpt-docs

Docusaurus page
https://code-gpt-docs.vercel.app
MIT License
553 stars 58 forks source link

Error Message when using OpenIA provider #273

Closed romulow22 closed 1 month ago

romulow22 commented 1 month ago

After last update (v3.3.19) Im receiving bellow error when i use any model from OpenAI provider.

This started happening after i changed the max_tokens value and now every value that i set in it giver this error

Alert: Openai Message

400 Invalid type for 'max_tokens': expected an integer, but got a string instead.

davila7 commented 1 month ago

Thank you! It will be fixed in the next version

davila7 commented 1 month ago

It is already fixed in version 3.3.20

davila7 commented 1 month ago

Update and then restart VSCode, then update the max_token and it should be working now