finance-mgn - v2.1.0
    Preparing search index...

    Function getOpenAIModel

    • Retrieves the appropriate OpenAI model based on the current environment.

      • Uses OPENAI_MODEL_DEV in development.
      • Uses OPENAI_MODEL_PROD in production.

      Returns undefined | ChatModel

      The OpenAI model to use, or undefined if not set.