Chatoyant - v0.2.1
    Preparing search index...

    Function isKnownModel

    • Check if a model identifier is a known model.

      Note: This only checks against the known models list. Providers may have additional models not in this list.

      Parameters

      • model: string

        Model identifier to check

      Returns model is KnownModel

      true if the model is in the known models list

      isKnownModel('gpt-5.2');        // true
      isKnownModel('claude-3-opus'); // true
      isKnownModel('custom-model'); // false