Open Closed

AI Management - ChatClientChat #10496


User avatar
0
rferrarin created
@page "/test/ai"

@using Volo.AIManagement.Client.Blazor.Components
@using Volo.Abp.AspNetCore.Components.Web

<ChatClientChat ShowStreamCheckbox="false" WorkspaceName="myWorkspace" />

@code {
}

this is my test page. the send button is always disabled...what am I missing?


2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • ChatClientChat disables the Send button until it can successfully resolve the workspace (by WorkspaceName) from the AI Management backend configuration. If the workspace doesn’t exist (or the current user can’t access it), the component stays in a “not ready” state and the button remains disabled.

    • Fix:

      1. Go to AI Management > Workspaces in your app.
      2. Create a workspace with Name = myWorkspace (must match WorkspaceName exactly), and configure at least one provider/model (so the workspace is usable).
      3. Ensure the current user has permission to use that workspace (if you limited it by permissions/tenants/users).
    • (Optional but recommended) Provide a stable ConversationId so the widget can persist history:

    <ChatClientChat
          ShowStreamCheckbox="false"
          WorkspaceName="myWorkspace"
          ConversationId="@($"my-conversation-{CurrentUser.Id}")" />
    
    • If it’s still disabled after creating/configuring the workspace, check the browser DevTools Network tab for failing calls (401/403/404) to the AI Management endpoints; that indicates missing permissions/authentication.

    Sources:

    • https://abp.io/docs/10.1/modules/ai-management/

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    rferrarin created

    I got it, I've to call CreateConversationAsync

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.3.0-preview. Updated on March 02, 2026, 08:48
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.