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
440 B
440 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_ai_openwebui_prompt_template_helpdesk_user | ai.openwebui.prompt.template.helpdesk.user | openwebui_base.model_openwebui_prompt_template | helpdesk.group_helpdesk_user | 1 | 0 | 0 | 0 |
| 3 | access_ai_openwebui_prompt_template_helpdesk_manager | ai.openwebui.prompt.template.helpdesk.manager | openwebui_base.model_openwebui_prompt_template | helpdesk.group_helpdesk_manager | 1 | 1 | 1 | 1 |