type: detectType()

in src/common/chat/gitlab_chat_controller.ts [63:84]


            type: detectType(
              message.record.content,
              await this.getGitLabVersionForClear(this.#manager),
            ),
          },
          this.#aiContextManager,
        );

        await Promise.all([this.processNewUserRecord(record), this.#clearSelectedContextItems()]);
        break;
      }
      case 'cancelPrompt': {
        this.#canceledPromptRequestIds.push(message.canceledPromptRequestId);
        await this.#view.cancelPrompt(this.#canceledPromptRequestIds);
        break;
      }
      case 'isChatFocused': {
        await this.#view.setChatFocused(message.isChatFocused);
        break;
      }
      case 'trackFeedback': {
        if (message.data) {