Commit Graph

6014 Commits

Author SHA1 Message Date
Rebecca Turner
6bb07370f4 Fix #4083 JSON parse error when tool does not accept parameters (#4084)
* Fix #4083: JSON parse error when tool does not accept parameters

* Reformat for visual coolness

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-06-02 10:18:04 +03:00
RossAscends
fa10833e52 add minimum requirement of 2 [A-za-z] for slashcommand autocomplete to show up (#4080)
* 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>
2025-06-01 20:07:33 +03:00
Cohee
4c3bb1aede PPP command and connection profiles (#4079)
* Add PPP command

* Add PPP to connection profiles
2025-06-01 18:15:06 +03:00
Nikolas Brown
c4d89b2067 Gemini inline video (#4078)
* 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>
2025-06-01 15:04:16 +03:00
Cohee
3ec9b1a099 Implement data clean-up dialog (#4072)
* [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
2025-06-01 13:56:34 +03:00
Cohee
7f47f84c9f Merge branch 'release' into staging 2025-06-01 01:17:59 +03:00
Cohee
303c1dcf14 Caption: fix displaying secondary endpoint for unsupported sources 2025-06-01 01:17:42 +03:00
closure
26f717ac45 Added NAI Diffusion V4.5 Full and V4.5 Curated 2025-05-30 17:48:39 -03:00
Cohee
1cbc4ac65b Fix HTML syntax errors by @Dakraid
Original commit: fd4babab31
2025-05-29 21:38:55 +03:00
Cohee
e1e2d3e726 Recent chats: add delete and rename buttons (#4051)
* [wip] Add rename/delete for recent chats

* Implement deleteCharacterChatByName

* Fix character name usage in deleteCharacterChatByName function
2025-05-29 21:21:53 +03:00
leandrojofre
34b8b48b52 Update - Clean console debugs for group chats
Those two debugs always floods the console in group chats, making it imposible to debug anything else, like extensions or activated wi entries.
2025-05-29 12:05:57 -03:00
Cohee
8ccbbe8cdc Merge pull request #4057 from omahs/patch-2
Fix typos
2025-05-29 16:40:53 +03:00
Roberts Slisans
8db879d9f2 refresh voices upon checkReady in openai-compatible TTS 2025-05-29 14:40:52 +03:00
omahs
d7d20a67fa Fix typos 2025-05-29 11:56:59 +02:00
Cohee
b61269445d Merge pull request #4046 from InterestingDarknessII/vertexfull
Add Vertex AI Full Version support
2025-05-28 20:52:24 +03:00
Cohee
4e75f2fa4d Change no neutral warning text to align with other inputs 2025-05-28 20:45:35 +03:00
Cohee
5c2cfed18b Implement auto-connect for VertexAI full 2025-05-28 20:37:50 +03:00
Cohee
a0dda44ff9 Fix model options hiding on Chrome 2025-05-28 20:37:34 +03:00
InterestingDarkness
75e3f599e6 Derive Vertex AI Project ID from Service Account JSON
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.
2025-05-28 21:57:17 +08:00
buzz
4bec90abb5 Import character card from Soulkyn (#4042) 2025-05-27 22:30:15 +03:00
InterestingDarkness
1e2bec1751 Removed direct references to 'vertexai_project_id' from openai.js and related files, ensuring it is now managed through backend secrets for enhanced security. 2025-05-27 21:25:53 +08:00
InterestingDarkness
a9d4988fc0 Remove vertexai_service_account_json from oai_settings. And google.js. 2025-05-27 08:59:13 +08:00
Cohee
2c7f2e2014 Pollinations: fix headers, add samplers 2025-05-26 23:18:51 +03:00
Cohee
e2222ac40a Pollinations: fix headers, add samplers 2025-05-26 23:18:14 +03:00
Cohee
523cc36b46 Implement bulk operations for regex 2025-05-26 22:21:48 +03:00
Cohee
52c3b83f96 Merge branch 'staging' into regex 2025-05-26 21:13:13 +03:00
InterestingDarkness
df36b60e9b Add vertex AI configuration fields to sensitiveFields in openai.js
- Included 'vertexai_project_id', 'vertexai_region', and 'vertexai_service_account_json' to the sensitiveFields array for enhanced configuration management.
2025-05-27 00:45:33 +08:00
InterestingDarkness
453c177a8e Enhance Vertex AI model selection by adding data-mode attributes
- 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.
2025-05-27 00:43:31 +08:00
InterestingDarkness
9e71b70f75 Updated toastr messages in openai.js to use translation function for better internationalization support. 2025-05-27 00:38:06 +08:00
InterestingDarkness
5656c7950d Implement Vertex AI authentication modes and configuration in UI
- 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.
2025-05-26 22:09:59 +08:00
Cohee
a6928289b3 Clear extension load errors before activating extensions 2025-05-26 11:10:47 +00:00
RossAscends
57882c80e5 add ability for exts to req other exts (#4023)
* add ability for exts to req other exts

* Get rid of toasts. Collect errors on load, display in manager

* Remove unused variable

* Only show missing modules/dependencies

* Prefer display names in validation messages

* Prefer internal name for console warn

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-05-26 01:38:32 +03:00
Cohee
e12e0ccd84 Support ISO 8601 timestamps 2025-05-26 01:20:28 +03:00
Cohee
61a1078e1d Display a greeting for custom welcome assistants 2025-05-26 01:09:57 +03:00
Cohee
c528940a45 Fix WI position selector if entry.position is empty 2025-05-25 21:36:21 +03:00
Cohee
7a6c930adc {{charPrefix}} is real. 2025-05-24 20:37:46 +03:00
Aykut Akgün
e4217dbeba custom endpoint handling (#4031) 2025-05-24 01:41:03 +03:00
Cohee
5359c76923 Proper treatment for groups #4008 2025-05-24 00:59:45 +03:00
Cohee
d0d358f56f Update tooltip on tag visibility button #4008 2025-05-24 00:51:41 +03:00
Cohee
36dfbd4cbe Add rawQuotes to override with named arg (#4032) 2025-05-24 00:35:58 +03:00
Cohee
d0bc58acf2 Fix CC rename spazzing out on hashtags 2025-05-24 00:20:09 +03:00
Cohee
8d84871134 Sanitize filename before renaming
Fixes #3982
2025-05-24 00:02:48 +03:00
Cohee
1f7c65b45a #3982 CC: Fix visual duplication of presets on renaming 2025-05-24 00:01:50 +03:00
Cohee
6a67e54ff8 Groups: fix resetting chat metadata on renaming group members 2025-05-23 22:02:59 +03:00
Cohee
ed2e6fff6e OpenAI: add gpt-image-1 model 2025-05-23 20:33:27 +03:00
Cohee
58832d1a75 MistralAI: add devstral models 2025-05-23 20:16:56 +03:00
Cohee
57b81be9ce Caption - allow custom endpoint for xAI 2025-05-22 23:03:04 +03:00
Cohee
fd0e0945b3 Remove duplicates from group chats list on load 2025-05-22 22:58:26 +03:00
Cohee
5ac472fbac Implement creator's note style tag preferences (#3979)
* Implement creator's note style tag preferences

* Decouple external media preference from style preference

* Allow explicitly empty prefixes in decodeStyleTags

* Fix Copilot comments

* Refactor global styles management into StylesPreference class

* Refactor openAttachmentManager to return an object instead of an array

* Unify header structure

* Re-render characters panel on setting initial preference

* Add note about classname prefixing

* Rename event handler
2025-05-22 22:32:53 +03:00
Cohee
62c2c88a79 + captioning and multimodal 2025-05-22 21:17:34 +03:00