Neutrome SDK reference
    Preparing search index...

    Function getModel

    • Reads the model a program targets.

      Parameters

      • program: Program

        Program to read.

      Returns string

      The model id, or an empty string when the program sets none.

      const model = getModel(request) || "default/glm-5.2";