Changeset 3311721
- Timestamp:
- 06/14/2025 11:10:31 PM (10 months ago)
- Location:
- ai-tool-center
- Files:
-
- 4 edited
-
tags/1.2.0/admin/class-aitoce-admin-model-page.php (modified) (2 diffs)
-
tags/1.2.0/public/js/aitoce-public-nimbot-draggable.js (modified) (1 diff)
-
trunk/admin/class-aitoce-admin-model-page.php (modified) (2 diffs)
-
trunk/public/js/aitoce-public-nimbot-draggable.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ai-tool-center/tags/1.2.0/admin/class-aitoce-admin-model-page.php
r3311710 r3311721 132 132 'Check this if you want to use a Custom API Model.' 133 133 ); 134 135 $this->options->aitoce_add_select_field( 136 'custom_llm_config', 137 __('LLM API Structure', 'ai-tool-center'), 138 [ 139 'messages' => 'Open WebUI', 140 'input' => 'OpenAI', 141 ], 142 esc_attr(AITOCE_OPTION_NAME_MODEL_CUSTOM), 143 esc_attr(AITOCE_OPTION_SLUG_MODEL_CUSTOM), 144 esc_attr(AITOCE_OPTION_SECTION_MODEL_CUSTOM), 145 ); 134 146 135 147 // Text field for the custom LLM base URL … … 184 196 return [ 185 197 'custom_llm' => isset($input['custom_llm']) ? 1 : 0, 198 'custom_llm_config' => sanitize_text_field($input['custom_llm_config'] ?? ''), 186 199 'custom_api_url' => sanitize_text_field($input['custom_api_url'] ?? ''), 187 200 'custom_api_key' => sanitize_text_field($input['custom_api_key'] ?? ''), -
ai-tool-center/tags/1.2.0/public/js/aitoce-public-nimbot-draggable.js
r3311710 r3311721 1 1 jQuery(document).ready(function($) { 2 //$( "#aitoce-popup-container" ).draggable();2 $( "#aitoce-popup-container" ).draggable({ handle: "#aitoce-chat-header" }); 3 3 }); -
ai-tool-center/trunk/admin/class-aitoce-admin-model-page.php
r3311192 r3311721 132 132 'Check this if you want to use a Custom API Model.' 133 133 ); 134 135 $this->options->aitoce_add_select_field( 136 'custom_llm_config', 137 __('LLM API Structure', 'ai-tool-center'), 138 [ 139 'messages' => 'Open WebUI', 140 'input' => 'OpenAI', 141 ], 142 esc_attr(AITOCE_OPTION_NAME_MODEL_CUSTOM), 143 esc_attr(AITOCE_OPTION_SLUG_MODEL_CUSTOM), 144 esc_attr(AITOCE_OPTION_SECTION_MODEL_CUSTOM), 145 ); 134 146 135 147 // Text field for the custom LLM base URL … … 184 196 return [ 185 197 'custom_llm' => isset($input['custom_llm']) ? 1 : 0, 198 'custom_llm_config' => sanitize_text_field($input['custom_llm_config'] ?? ''), 186 199 'custom_api_url' => sanitize_text_field($input['custom_api_url'] ?? ''), 187 200 'custom_api_key' => sanitize_text_field($input['custom_api_key'] ?? ''), -
ai-tool-center/trunk/public/js/aitoce-public-nimbot-draggable.js
r3311710 r3311721 1 1 jQuery(document).ready(function($) { 2 //$( "#aitoce-popup-container" ).draggable();2 $( "#aitoce-popup-container" ).draggable({ handle: "#aitoce-chat-header" }); 3 3 });
Note: See TracChangeset
for help on using the changeset viewer.