Member Junction
    Preparing search index...

    Type Alias NativeTerminalMode

    NativeTerminalMode: "tool" | "text"

    How a native-mode run ends.

    Type Declaration

    • "tool"

      complete_task is declared, and the final permitted turn is forced to call it.

    • "text"

      A plain-text reply ends the run. complete_task is not declared, and the final permitted turn uses toolChoice: 'none', so the model answers instead of calling a tool it could not see the result of.