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

    A context variable is a variable that also contributes to the context of a chat request.

    In contrast to a plain variable, it can also be attached to a request and is resolved into a context value. The context value is put into the ChatRequestModel.context, available to the processing chat agent for further processing by the chat agent, or invoked tool functions.

    interface ResolvedAIContextVariable {
        allResolvedDependencies?: ResolvedAIVariable[];
        arg?: string;
        contextValue: string;
        value: string;
        variable: AIVariable;
    }

    Hierarchy (View Summary)

    Index

    Properties

    allResolvedDependencies?: ResolvedAIVariable[]

    Flat list of all variables that have been (recursively) resolved while resolving this variable.

    arg?: string
    contextValue: string
    value: string

    value that is inserted into the prompt at the position of the variable usage

    variable: AIVariable