Skip to content

AiModelOverride

A model a run uses for one agent in place of the one its definition names: either a model from Maitento’s catalogue (aiModelId) or one defined inline (customModel). Exactly one of the two is set.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
agentNamestringThe agent (its name in the interaction) the override applies to.
aiModelIduuid | nullThe id of the catalogue model to use. Null when customModel defines the model instead.
customModelInlineAiModelDefinition| nullA model defined inline, for one that isn’t in the catalogue. Null for a catalogue model.
purposeAiModelOverridePurposeWhich of the agent’s models this replaces: the one it runs on, or the one that vets what its loom offers it.
{
"agentName": "...",
"aiModelId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"customModel": {
"name": "...",
"apiType": "...",
"modelIdentifier": "...",
"credentialProvider": "...",
"contextWindowTokens": 0,
"maxOutputTokens": 0,
"supportsJsonSchemaResponseFormat": false,
"tokenizerFamily": "...",
"reasoningEffort": "..."
},
"purpose": "Agent"
}