Using Glide without AIΒΆ

If for whatever reason you wish to disable the use of AI you have several avenues to do so:

  • You can disable use of AI at a global level by setting DISABLE_AI=true within your node_modules/.poly/config.env file.

  • You can disable use of AI at a function level when configuring your poly functions:
    export const polyConfig: PolyServerFunction = {
        name: "helloPoly",
        context: "demo",
        disableAi: true,
    }
    
  • Or you can disable use of AI when running the poly prepare command by adding the --disable-ai option, ex: poly prepare --disable-ai.