Update DuoChat Error Handling on GitLab monolith
Update the GitLab Monolith DuoChat Implementation to avoid using the DuoChat error prop and display all errors as inline DuoChat messages.
Currently, the DuoChat interface uses a fixed error message at the top of the sidebar. This implementation needs to be updated to consolidate all error messages into inline messages, which behave like LLM responses but with error styling.
current State | future State |
---|---|
![]() |
![]() |
Implementation Plan
- Locate all instances where the DuoChat error prop is used in the GitLab Monolith codebase.
- Remove the usage of the error prop from these instances.
- Update the error handling logic to create and display inline error messages instead.
- Ensure that all errors are formatted as DuoChat messages with appropriate error styling.
Edited by Jannik Lehmann