Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

Description

This module allows to use OpenAI connections directly as AI Connection.

It is quite interesting because systems like LiteLLM allows us to work only like OpenAI, simplifying the work.

Dependencies

Odoo dependencies
OCA/ai:
odoo/odoo:
- web
- bus
Python dependencies
openai
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
ai_connection_form_view ai.connection form Inherits ai_connection.ai_connection_form_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (5)
  • kind Selection
    ondelete={'openai': 'cascade'} selection_add=[('openai', 'OpenAI')]
  • openai_api_key Char
    groups='base.group_system'
  • openai_api_key_env Char
    groups='base.group_system' help='Name of an environment variable of the Odoo server holding the API key. When set, the key is read from it on every call and the stored API Key is ignored, so the key never enters the database. The server configuration must allow the name (option ai_connection_openai_env_allowlist).' string='API Key Environment Variable'
  • openai_max_completion_tokens Integer
    help='Upper bound of tokens generated per request, reasoning included. Leave empty to use the server default.' string='Max Completion Tokens'
  • openai_timeout Float
    help='Timeout of each request, in seconds. Leave empty to use the client default.' string='Timeout'
Public methods (0)

No public methods.

Loading…

Loading…