Closed Sahilll15 closed 1 month ago
Hey @Sahilll15 I am assigning this issue to you
you can start working on this issue
Happy hacking ✨
@Nishitbaria ig its the problem with the chatGPTs tokens that's causing the issue
I have implemented the same solution using geminiAPi
have a look at that
If you are okay with the implementation we can move ahead with this solution
Description:
{"error":"Cannot read properties of undefined (reading '0')"}
Steps to Reproduce:
- Go to the question page.
- Attempt to answer the question.
- Observe the error.
Expected Behavior:
The error should be properly handled, and if it persists, an error message should be displayed.
Additional Information:
It seems like the API might not be receiving the correct input, leading to this error. We need to ensure proper error validation on this page.
I am Okay with Gemini : Use Verser ai SDK for that : https://sdk.vercel.ai/providers/legacy-providers/google
Description:
{"error":"Cannot read properties of undefined (reading '0')"}
Steps to Reproduce:
Expected Behavior:
The error should be properly handled, and if it persists, an error message should be displayed.
Additional Information:
It seems like the API might not be receiving the correct input, leading to this error. We need to ensure proper error validation on this page.