Verified Commit 551fd57c authored by Uma Chandran (OOO Aug 28 - Sept 1)'s avatar Uma Chandran (OOO Aug 28 - Sept 1) 🌴 Committed by GitLab
Browse files

chore: update agentic and classic chat references

parent 6139f82f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ After you [set up the extension](#setup), this extension adds GitLab features to

In the IDE, when you select GitLab Duo Agent Platform, two tabs are available for use:

- **[Chat](https://docs.gitlab.com/user/gitlab_duo_chat/agentic_chat/)**: Get help with code, planning, security, project management, and more. GitLab Duo Chat (Agentic) can answer questions or perform tasks for you.
- **[Chat](https://docs.gitlab.com/user/gitlab_duo_chat/agentic_chat/)**: Get help with code, planning, security, project management, and more. GitLab Duo Agentic Chat can answer questions or perform tasks for you.
- **[Flow](https://docs.gitlab.com/user/duo_agent_platform/flows/)**: Use the [Software Development Flow](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/software_development/) to gather context, create a plan, and execute on it. The flow has access to your project and any additional context you provide.

Some functionality overlaps because GitLab Duo Chat can also invoke a flow when fulfilling a request.
+1 −1
Original line number Diff line number Diff line
@@ -1008,7 +1008,7 @@
            "order": 4
          },
          "gitlab.duoAgentPlatform.defaultNamespace": {
            "description": "The default group or namespace path for GitLab Agentic Platform when the extension can't get GitLab project details. Example: gitlab-org",
            "description": "The default group or namespace path for GitLab Duo Agentic Platform when the extension can't get GitLab project details. Example: gitlab-org",
            "type": "string",
            "order": 4
          },
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ export class ChatStateManager implements vscode.Disposable {
        const chatState = states[CHAT];
        if (!chatState) {
          log.warn(
            `Feature state manager can't find the Duo Chat state. We will disable chat. Please report this as a bug.`,
            `Feature state manager can't find the GitLab Duo Chat state. We will disable Chat. Please report this as a bug.`,
          );
          await setChatAvailable(false);
          return;
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ export const getErrorScreenHtml = (errorMessage: string): string => `
  </head>
  <body>
    <div class="error-icon">⚠️</div>
    <div class="error-message">Error initializing Duo Chat.</div>
    <div class="error-message">Error initializing GitLab Duo Chat.</div>
    <br><br>
    <div class="error-message">${escapeHtml(errorMessage)}</div>
  </body>
+4 −4
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ export class GitLabChatController implements vscode.WebviewViewProvider {

  async processNewUserRecord(record: GitLabChatRecord) {
    if (!record.content) {
      log.warn('Duo Chat: no content to send to API');
      log.warn('Chat: no content to send to API');
      return;
    }

@@ -169,7 +169,7 @@ export class GitLabChatController implements vscode.WebviewViewProvider {
    }

    if (subscriptionError) {
      log.error('Duo Chat: error subscribing to updates, using fallback', subscriptionError);
      log.error('Chat: error subscribing to updates, using fallback', subscriptionError);
      useFallback = true;
    }

@@ -194,7 +194,7 @@ export class GitLabChatController implements vscode.WebviewViewProvider {
    // Fallback if websocket fails or disabled.
    // Used in the Web IDE.
    if (useFallback) {
      log.error('Duo Chat: error connecting to cable socket, refreshing feed via https.');
      log.error('Chat: error connecting to cable socket, refreshing feed via https.');
      await Promise.all([this.#refreshRecord(record), this.#refreshRecord(responseRecord)]);
    }
  }
@@ -220,7 +220,7 @@ export class GitLabChatController implements vscode.WebviewViewProvider {
        this.#subscriptionUpdateHandler.bind(this),
        record.id,
      );
      log.info('Duo Chat: successfully subscribed to updates');
      log.info('Chat: successfully subscribed to updates');
      return { cable, error: null };
    } catch (err) {
      return { cable: null, error: err as Error };
Loading