Some "Ask with AI" links to ChatGPT errors with 431 status code
Open
- Dominant language
- Python
- Stars
- 127
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
## Steps to reproduce error
1. Go to https://updraft.cyfrin.io/courses/solana/core-concepts/ethereum-and-solana
2. Click on "Written Lesson"
3. Click on "Ask with AI"
4. Click on "ChatGPT"
5. Expect redirected page to load successfully (Got error status code 431 Request Header Fields Too Large)
## Screenshots
## Possible fixes
- Limit URL length to 7500 characters, and if exceeds, ask user to copy paste, and redirect to chatgpt.com without querystring.
- Seed ChatGPT with copied text, and button to redirect to processed ChatGPT Share Link URL (e.g. `chatgpt.com/c/`)
- etc
Contributor guide
Assessment
This issue has not been assessed yet.