AI configuration
Last updated
Last updated
Some commands, such as assertWithAI
and assertNoDiffWithAI
, use generative AI models, which are not built directly in Maestro CLI. Therefore, to use such commands, additional configuration is required.
The default model is the latest GPT-4o.
You can configure the model to use with the MAESTRO_CLI_AI_MODEL
env var, for example:
Currently supported:
GPT family of models from OpenAI
Claude family of models from Anthropic
Support for more models and providers is tracked in this issue.
To use this command, an API key for the LLM service is required. To set it, export the MAESTRO_CLI_AI_KEY
env var.
For example, to set the key for OpenAI:
or for Anthropic:
You need to bring your own API key. The keys above are just examples and are not valid.