* add minimum requirement of 2 [A-za-z] for slashcommand autocomplete to show up
* Migrate to dedicated AC toggle
* Replace state checkbox with select
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Add inline video attachment support for Gemini 2.5 Pro
* file formatting
* removed redundant function for saving video to message
* removed other redundant function for saving video to message
* Seperate inlining check for video
* Edit video token cost to be a conservative estimate of 10000 tokens
* fixed missing semicolon
* Adds seperate ui toggle for video inlining.
* Move mes_video out of img_container
* Remove title from video element for now
* Better visibilty of video with controls
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* [wip] Add user data cleanup service
* Add clean-up report viewer
* Fix review comments
* Add function comments
* Implement item actions
* Fix UI styles
* Add placeholder for empty results, update category description view
* Add displayEmptyPlaceholder method to show message when results list is empty
* Adjust menu buttons row
* Delete char-scoped data bank attachments on character deletion
* Data Bank: Handle character attachments on rename
* Remove line breaks in description strings
* Drop the category when the last item is deleted
* Skip invalid hashes instead of bailing
This commit refactors the Vertex AI integration to automatically derive the
Project ID from the provided Service Account JSON. This simplifies the
configuration process for users in "Full" (service account) authentication
mode by removing the need to specify the Project ID separately.
- Removed outdated model options from the Gemini 2.0 optgroup in index.html.
- Added 'gemini-2.0-flash-preview-image-generation' to the image generation models in chat-completions.js for improved functionality.
- Updated index.html to include data-mode attributes for model optgroups, distinguishing between express and full modes.
- Modified openai.js to show/hide model groups based on the selected authentication mode, improving user experience and functionality.
- Updated index.html to include options for Vertex AI authentication modes (Express and Full).
- Enhanced openai.js to manage Vertex AI settings, including project ID, region, and service account JSON.
- Added validation and handling for service account JSON in the backend.
- Modified API request handling in google.js to support both authentication modes for Vertex AI.
- Updated secrets.js to include a key for storing Vertex AI service account JSON.
- Improved error handling and user feedback for authentication issues.
* Allow prompt post-processing for all sources. Add 'single user msg' PPP type
* Fix copilot comments
* Fix typo in element id
* Remove redundant conditions
* Lint fix
* Add link to PPP docs
* Add Vertex AI express mode support
Split Google AI Studio and Vertex AI
* Add support for Vertex AI, including updating default models and related settings, modifying frontend HTML to include Vertex AI options, and adjusting request processing logic in the backend API.
* Log API name in the console
* Merge sysprompt toggles back
* Use Gemma tokenizers for Vertex and LearnLM
* AI Studio parity updates
* Add link to express mode doc. Also technically it's not a form
* Split title
* Use array includes
* Add support for Google Vertex AI in image captioning feature
* Specify caption API name, add to compression list
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Add tagOptions parameter to printTagList for character-specific filtering
* Add toggle functionality to hide tags in tag management popup
* Add translations for "Hide on character card" in multiple locale files
* Add is_hidden_on_character_card property to newTag function
* applied linter
* revert back `DEFAULT_TAGS_LIMIT`
* Remove debug logs
* Adjust HTML
* Render list and save settings on toggle change
* Make tag manager wide
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Reverse CC injection "Order" to match World Info
* Set CC injection order default to 100
* Update non-PM injects order + add hint
* Update default order value on inject
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Implement a priority for prompt injections in CC
Adds a numeric order for injected prompts, 0 being default and placed at the top, and higher numbers placing further down. If two messages have the same priority, then order is determined by role as was before.
* Update data-i18n for new setting field
* Rename priority to order, sort higher first/lower last
* Hide order when position is relative, adjust hint text
* Fix type error
* Fix capitalization
* Cut UI texts
* Reposition text labels
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* [wip] Pollinations for text
* Implement generate API request
* Determine Pollinations model tools via models list
* Add Pollinations option to /model command
* Add Pollinations support to caption
* Update link to pollinations site
* Fix type errors in openai.js
* Fix API connection test to use AbortController for request cancellation
* Remove hard coded list of pollinations vision models
* Remove openai-audio from captioning models