abi / abi/screenshot-to-code

Error generating code. Please contact support.

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

説明

**Describe the bug**
Error generating code. Please contact support.

**To Reproduce**
Steps to reproduce the behavior:
https://github.com/abi/screenshot-to-code/issues/354

**Screenshots of backend AND frontend terminal logs**

Why do I keep getting an error message:

```
Received params
Using openAiApiKey from client-side settings dialog
Using openAiBaseURL from client-side settings dialog
Generating html_tailwind code in image mode
Status (variant 0): Generating code...
Status (variant 1): Generating code...
Error generating code. Please contact support.
Traceback (most recent call last):
File "D:\cursor\githubs\screenshot-to-code\backend\llm.py", line 79, in stream_openai_response
stream = await client.chat.completions.create(**params) # type: ignore
```

1.

![Image](https://github.com/user-attachments/assets/a06a3cbf-6b07-4c5c-b04b-c6006eabee86)

2.

![Image](https://github.com/user-attachments/assets/35def2a4-9a8a-429d-b51d-67fdcb970ab5)

3.

![Image](https://github.com/user-attachments/assets/ac3a1bdd-d5b8-4bde-a123-81073a7abb51)

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

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

評価

この issue はまだ評価されていません。

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

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