abi / abi/screenshot-to-code

Error code: 404 - {'error': {'message': 'The model `gpt-4o-2024-05-13` does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}.

オープン
#350 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
78.7k
フォーク
9.6k
PR マージ指標
30日以内にマージされた PR はありません

説明

I am already a GPT PLUS member and can use GPT4 on the web page, but when I use my API key, it still says I don't have permission. This is my first time using an API key, so are GPT4 membership and GPT4 API key separate?

```
Error code: 404 - {'error': {'message': 'The model `gpt-4o-2024-05-13` does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}. Please make sure you have followed the instructions correctly to obtain an OpenAI key with GPT vision access: https://github.com/abi/screenshot-to-code/blob/main/Troubleshooting.md
```
![mmexport1717061086506.png](https://github.com/abi/screenshot-to-code/assets/158260972/63daf83c-25dd-48f0-bd00-eb4d77bdd078)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The error indicates the OpenAI API key lacks access to the GPT-4 model. Check the code that makes the OpenAI API call, likely in a file like `backend/openai_client.py` or similar. Verify the model name being used and ensure the API key has the correct permissions. The troubleshooting link provides guidance on obtaining a key with GPT-4 access. Test with a valid key and model to confirm resolution.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend-api-design
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。