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

    Language model implementation for GitHub Copilot backed by the official Copilot CLI via @github/copilot-sdk.

    The CLI is an agent that owns the tool-calling loop, whereas Theia's language model contract expects the caller to drive it. The two are reconciled by handing the tools of the request to the CLI as custom tools whose handlers delegate back to Theia, and by reporting every invocation as a tool call part, so that the conversation and its tool calls are recorded and rendered as usual. None of the CLI's own tools are exposed, so only what Theia provides can run.

    Structured output is not supported on this path.

    Implements

    Index

    Constructors

    Properties

    clientProvider: () => Promise<CopilotClient>
    id: string
    logger: ILogger
    maxRetries: number
    model: string

    Methods