fix: chat role graphql type
This changes the role from AiChatMessageRole to AiMessageRole. This is necessary as the API changed with gitlab!132371 (merged).
How to test
- Enable the chat feature flag:
"gitlab.featureFlags": { "chat": true },
- Have your gitlab account connected
- Try it with current
main
to ask something in the chat. You will see a graphql error - With this branch, the chat will respond again
Related issue: #1040 (closed)
Edited by Nicolas Dular