Theia API Documentation v1.76.0
    Preparing search index...
    interface ChatRequestInvocation {
        requestCompleted: Promise<ChatRequestModel>;
        responseCompleted: Promise<ChatResponseModel>;
        responseCreated: Promise<ChatResponseModel>;
    }
    Index

    Properties

    requestCompleted: Promise<ChatRequestModel>

    Promise which completes once the request preprocessing is complete. Rejected with a NoChatAgentError when no agent is available to handle the request.

    responseCompleted: Promise<ChatResponseModel>

    Promise which completes once the response is complete. In the no-agent case it resolves with the error response model instead of rejecting.

    responseCreated: Promise<ChatResponseModel>

    Promise which completes once a response is expected to arrive. Rejected with a NoChatAgentError when no agent is available to handle the request.