ai_oca_native_generate_ollama
Provides an Odoo HTML editor AI integration that uses a locally controlled Ollama server instead of Odoo's ChatGPT-based service.
Key Features
- html_editor: Replaces the AI text generation endpoint to call an Ollama chat model when host and model parameters are set.
- ir.config_parameter: Exposes parameters to configure the Ollama connection, target model, and optional custom headers for requests.
- html_editor: Falls back to the standard Odoo IAP AI service automatically if the Ollama configuration is absent.
- html_editor: Forwards the existing conversation history along with the new prompt when requesting Ollama responses to maintain context.