Commit Graph

10385 Commits

Author SHA1 Message Date
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
1c048a6c79 Refactor Google authentication functions for Vertex AI
- Exported `getVertexAIAuth`, `generateJWTToken`, and `getAccessToken` functions from google.js for better modularity.
- Removed redundant JWT token generation and access token retrieval logic from chat-completions.js, utilizing the newly exported functions instead.
- Improved code organization and maintainability by centralizing authentication logic.
2025-05-27 00:31:43 +08:00
InterestingDarkness
7fcd40c829 fix ESLint 2025-05-26 22:18:54 +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
Cohee
a8a133b6c2 Merge branch 'release' into staging 2025-05-26 08:08:47 +00:00
Cohee
51c5783eb3 Add referrer for Pollinations requests 2025-05-26 08:08:38 +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
90eb74545c Merge pull request #4041 from SillyTavern/staging
Staging
1.13.0
2025-05-25 22:18:09 +03:00
Cohee
c528940a45 Fix WI position selector if entry.position is empty 2025-05-25 21:36:21 +03:00
Cohee
939e5003e8 Bumperino da packageo versiono 2025-05-25 17:53:12 +03:00
Cohee
08ad507637 Split reasoning effort tooltips from claude/google. 2025-05-25 13:43:16 +03:00
Cohee
b6762d256d Add margin to descriptions 2025-05-25 13:30:28 +03:00
Cohee
4b12eea00f Update reasoning effort options with links and descriptions 2025-05-25 13:29:33 +03:00
Cohee
30ddb34d38 Add visibility-only blurb for model thinking toggle 2025-05-25 04:53:29 +03:00
Cohee
64edcfae22 Claude: allow to request thinking even if not displayed 2025-05-25 04:48:49 +03:00
Cohee
34c25300e5 Trim whitespace before replacing line breaks in unknown elements 2025-05-25 00:52:03 +03:00
Cohee
8d67874215 Adjust document mode styles 2025-05-24 23:50:49 +03:00
Cohee
7a6c930adc {{charPrefix}} is real. 2025-05-24 20:37:46 +03:00
Cohee
955692424a Equalize top/bottom toast paddings 2025-05-24 20:31:37 +03:00
Cohee
b4d6b8e405 Reformat CSS styles 2025-05-24 18:59:15 +03:00
Cohee
e8b54cc8f0 Update README 2025-05-24 18:56:04 +03:00
Aykut Akgün
e4217dbeba custom endpoint handling (#4031) 2025-05-24 01:41:03 +03:00
Cohee
2a7a8cab11 Fix offset of toast in popups 2025-05-24 01:16:28 +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
560c6e8ff1 Claude: control cache TTL with config 2025-05-23 21:40:40 +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
22afd570fc Claude: set cache TTL to 1h 2025-05-23 20:11:10 +03:00
Cohee
449522c3aa Combine all toastr settings into one object 2025-05-23 20:01:53 +03:00
RossAscends
e6d5830f33 remove old toast config 2025-05-23 20:39:47 +09:00
RossAscends
26fd06335e Toasty Click to close hint 2025-05-23 20:38:05 +09:00
RossAscends
341fa17ba3 Hack-free Toast 2025-05-23 20:31:31 +09:00
RossAscends
7fc97a3b9a Zen Toast 2025-05-23 20:27:39 +09:00
RossAscends
640d9020f9 toast close button padding 2025-05-23 17:39:34 +09:00
Cohee
be54ef3dac Fix file handle leak on empty chat info 2025-05-22 23:19:10 +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