-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: add metadata to error details dialog #10050
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
Conversation
- Prepends extension version, provider, model, and repository info to error details - Helps users provide better bug reports with context - Uses useExtensionState and useSelectedModel hooks for data
Review completed. No issues found. The new changes add a date/time timestamp to the error metadata and improve the info button discoverability by making it slightly visible (opacity-30) by default. Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
|
In the screenshot there's no error message beyond 401 - is that the only thing we have in this case or should we dump the raw error message so it gets copied as well. |
Review completed. No issues found. The implementation correctly adds metadata (date/time, extension version, provider, model) to error details for improved bug reporting. The hooks are used appropriately and the UI improvement for info button visibility is a nice touch. Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
|
We don't get more detail in the 401 I used to force that situation :( The inline message is the custom one I added based on the HTTP status code. |
Adds extension version, provider, model, and repository information to the error details dialog to help users provide better bug reports with context.
Changes:
useExtensionStatehook to get extension version and API configurationuseSelectedModelhook to get current provider and model IDTesting:
View task on Roo Code Cloud
Important
Adds metadata to error details in
ErrorRowfor improved bug reporting, using hooks to fetch and format data.ErrorRow.useExtensionStateto get extension version and API configuration.useSelectedModelto get provider and model ID.ErrorRowto display formatted error details in a dialog.ChatRowpass.This description was created by
for 2a41704. You can customize this summary. It will automatically update as commits are pushed.