New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add better messages for failing calls to AI assistance #970
Comments
Not sure it will help the end users as he can not change or modify the prompt. Currently he can just retry. The idea behind the AI-copilot is to have a very easy and straightforward experience (currently exemple generation) without writing anything. But it required a clean and curated specification/contract. In which case have you noticed an issue for which the error message can be useful? |
@yada, not on the prompt, but on the actual call. I got an HTTP 429 error with a clear message on checking my available quota. As we are using the user's API Key for the calls, it should be easy to add more context on why the request to the API failed. I was only able to check what the issue was after checking the logs. |
Thanks @hguerrero, yep make sense for this one agree. Let's dig further how this can be improve +1 |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
keep open |
It would be nice to list here the different cases we'd need to handle. I've noticed that |
Just for info(to help), here a different one: I missed something in my config. |
Reason/Context
When trying the AI assistance, there might be errors that are just sending a generic message. No way for the user to understand where to start digging to fix it.
Description
The message shown when there is an error while calling the AI assistance is too generic.
Implementation ideas
The REST API call to OpenAI for example, returns some more context on what was failing. It would be interesting in checking if there is a way to capture the output and share it with the user.
The text was updated successfully, but these errors were encountered: