The docs suggest that using gen ai is optional and you can leave this environment variable blank. However, if you run the app with this env variable blank there is an error.
Error: Missing key inputs argument! To use the Google AI API, provide (`api_key`) arguments. To use the Google Cloud API, provide (`vertexai`, `project` & `location`) arguments.
If you set it to an invalid value, the app will run but throw an error on any request.
This should either be removed from the docs, if it's not possible, or if there is a way to run the bot without this key, the docs should explain how to do it.
The docs suggest that using gen ai is optional and you can leave this environment variable blank. However, if you run the app with this env variable blank there is an error.
If you set it to an invalid value, the app will run but throw an error on any request.
This should either be removed from the docs, if it's not possible, or if there is a way to run the bot without this key, the docs should explain how to do it.