This commit represents a significant architectural improvement: - Completely replaced openwebui_connector with a more robust openwebui_base module - Centralized OpenWebUI API integration for better maintainability - Redesigned helpdesk_sale_order_ai to use the new openwebui_base module - Added support for multiple OpenWebUI providers and models - Improved error handling and response parsing - Added proper template management with openwebui_prompt_template - Fixed KeyError issues with safe template substitution - Streamlined API client initialization and usage
737 B
737 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_openwebui_provider_admin | openwebui.provider admin | model_openwebui_provider | base.group_system | 1 | 1 | 1 | 1 |
| 3 | access_openwebui_provider_user | openwebui.provider user | model_openwebui_provider | base.group_user | 1 | 0 | 0 | 0 |
| 4 | access_openwebui_model_admin | openwebui.model admin | model_openwebui_model | base.group_system | 1 | 1 | 1 | 1 |
| 5 | access_openwebui_model_user | openwebui.model user | model_openwebui_model | base.group_user | 1 | 0 | 0 | 0 |
| 6 | access_openwebui_prompt_template_admin | openwebui.prompt.template admin | model_openwebui_prompt_template | base.group_system | 1 | 1 | 1 | 1 |
| 7 | access_openwebui_prompt_template_user | openwebui.prompt.template user | model_openwebui_prompt_template | base.group_user | 1 | 0 | 0 | 0 |