Theia API Documentation v1.76.0
    Preparing search index...
    ExternalChatSessionCreateResult:
        | {
            created: { requestId?: string; session: ExternalChatSessionSummary };
        }
        | {
            failure: | "unknownAgent"
            | "noAgent"
            | "noFrontend"
            | "workspaceNotFound"
            | "ambiguousWorkspace";
        }

    Result of a session creation: the created session, or the reason creation was rejected.

    unknownAgent means the requested agent id is not registered. noAgent means the initial prompt could not be handled because no agent was available (the session is not kept in that case). noFrontend means no connected frontend is available to create the session. workspaceNotFound means no connected frontend matches the requested workspace. ambiguousWorkspace means no workspace was given and the connected frontends have different workspaces open.