Troubleshooting of OpenAI API: Difference between revisions
Jump to navigation
Jump to search
→How to fix "The model `gtp-4` does not exist"
| Line 120: | Line 120: | ||
=== How to fix "Request timed out: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out" === | |||
Error message | |||
<pre> | |||
Request timed out: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600) | |||
</pre> | |||
Solution | |||
* you may want to try again in a few minutes, as the server did not respond within the allotted time (600 seconds). | |||
=== How to fix "The model `gtp-4` does not exist" === | === How to fix "The model `gtp-4` does not exist" === | ||
| Line 134: | Line 143: | ||
</pre> | </pre> | ||
Solution: | |||
# Correct the typo in the model name. | |||
# Visit the [https://platform.openai.com/docs/models Models - OpenAI API] to view the list of models. You can also go to the [https://openai.com/product/gpt-4 GPT-4 product page] to join the waiting list. | |||
=== How to fix "This model's maximum context length is 4097 tokens" === | === How to fix "This model's maximum context length is 4097 tokens" === | ||