model - MadBomber/aia GitHub Wiki

--model or -m

Specify the model ID to use for this execution of this AIA.

envar: AIA_MODEL usage: --model <model_id> directive: //model [<model_id>]

When in an interactive chat session (--chat) the directive will show on STDOUT the model ID currently being used. The directive can also be used to change the model ID in the middle of a conversation.

In the following example I just asked AIA to produce an image and it said it could not. So I use the //model directive to show the current model ID. Then I use it again to change the model ID to dall-e-3 so that I can get the image that I want.

Follow up (cntl-D or 'exit' to end) #=>
//model
{
    "model" => "gpt-4o-mini"
}
Follow up (cntl-D or 'exit' to end) #=>
//model dall-e-3
Follow up (cntl-D or 'exit' to end) #=>

What if you forget the model ID?

As of mid June 2025 the AIA program using the RubyLLM gem v1.3.1 has over 500 models available. That's a lot of models to choose from. To see a list of the model IDs available, their provider and their modality you can use the --available_models CLI option or use the equivalent directive (//available_models) in the chat session.

⚠️ **GitHub.com Fallback** ⚠️