Skip to content

fix: chat role graphql type

Nicolas Dular requested to merge nd/fix-graphql-type into main

This changes the role from AiChatMessageRole to AiMessageRole. This is necessary as the API changed with gitlab!132371 (merged).

How to test

  1. Enable the chat feature flag:
    "gitlab.featureFlags": {
     "chat": true
    },
  2. Have your gitlab account connected
  3. Try it with current main to ask something in the chat. You will see a graphql error
  4. With this branch, the chat will respond again

Related issue: #1040 (closed)

Edited by Nicolas Dular

Merge request reports