MAIDR Documentation - v3.39.0
    Preparing search index...

    View model for managing chat interface state and AI model interactions.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    store: EnhancedStore
    disposables: Disposable[]

    Accessors

    • get canSend(): boolean

      Checks if the user can send messages based on enabled models with valid API keys.

      Returns boolean

      True if at least one model is enabled with an API key.

    Methods

    • Sends a user message to all enabled AI models and handles responses.

      Parameters

      • newMessage: string

        The message text to send.

      Returns Promise<void>

      Promise that resolves when all responses are received.