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

    Options related to tokenization for a tool invocation.

    interface LanguageModelToolTokenizationOptions {
        tokenBudget: number;
        countTokens(text: string, token?: CancellationToken): Thenable<number>;
    }
    Index

    Properties

    Methods

    Properties

    tokenBudget: number

    If known, the maximum number of tokens the tool should emit in its result.

    Methods