Documentation

Ai

Table of Contents

Interfaces

Maho_Ai_Model_Platform_ModelFetcherInterface
Contract for community provider model fetchers.
Maho_Ai_Model_Platform_ProviderFactoryInterface
Contract for community provider factories.
Maho_Ai_Model_TaskCallbackInterface
Implemented by classes that handle async task completion callbacks.

Classes

Maho_Ai_Block_Adminhtml_System_Config_Form_Field_ModelSelect
Renders an AI model dropdown with a "Refresh Models" button next to it.
Maho_Ai_Model_Platform_Factory
Builds provider instances for the seven built-in platforms (OpenAI, Anthropic, Google, Mistral, OpenRouter, Ollama, Generic) by delegating to Maho_Ai_Model_Platform_Symfony - a single adapter class that wraps the matching symfony/ai-platform Bridge.
Maho_Ai_Model_Platform_ModelFetcher
Maho_Ai_Model_Platform_Symfony
Adapter that wraps a Symfony AI PlatformInterface and presents it as a Maho_Ai provider — implementing all three Maho provider interfaces (chat, embed, image) so a single instance can serve every capability the underlying Symfony bridge supports.
Maho_Ai_Model_System_Config_Backend_ApiKey
Encrypted backend for AI provider API keys. On save, when the plaintext value actually changes (i.e. admin pasted a new key, not just resubmitted the obscured form value), the matching provider's model list is fetched and cached under maho_ai/models_cache/{provider}. Removes the need for a manual "Update Models" button — the model dropdown auto-populates on the next page render.
Maho_Ai_Model_System_Config_Backend_FetchTrigger
Sibling to Backend\ApiKey for non-encrypted credential fields (e.g.
On this page

Search results