localModels

abstract fun localModels(): Array<String>

Specifies local AI model providers to enable.

This attribute configures which local model providers should be initialized and made available to agents. Each value activates a corresponding Spring profile and loads provider-specific configuration.

Common providers:
  • "ollama" - Ollama local model server
  • "docker" - Docker-based model containers
  • "llamacpp" - LLaMA C++ implementation
Example:

= {LocalModels.OLLAMA, LocalModels.DOCKER"})
// Enables both Ollama and Docker-based models

Return

array of local model provider identifiers