Theia API Documentation v1.68.0
    Preparing search index...

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    _arguments?: string
    _confirmationRejecter?: (reason?: unknown) => void
    _confirmationResolver?: (value: boolean) => void
    _confirmed: Promise<boolean>
    _data?: Record<string, string>
    _finished?: boolean
    _finishedResolver?: () => void
    _id?: string
    _name?: string
    _result?: ToolCallResult
    _whenFinished: Promise<void>
    kind: "toolCall" = 'toolCall'

    Accessors

    Methods

    • Mark the tool call as completed with the given result.

      This is used to update the UI immediately when a tool finishes execution, without waiting for all parallel tool calls to complete. The language model batches tool results (via Promise.all) before yielding them to the stream, so without this early completion signal, the UI wouldn't update until all tools finish. The values set here will be overwritten by merge() when the language model eventually yields the results, but they should be identical.

      Parameters

      Returns void