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
InterestingDarkness
9f698dd6e3
Updated the placeholder text for the region input field in index.html to include 'global' as an option.
...
- Added a help link to provide users with information on available regions and models, improving user guidance.
2025-05-28 21:32:39 +08:00
InterestingDarkness
55af19e70b
Reduced the number of rows in the textarea for Service Account JSON input in index.html
2025-05-28 21:26:10 +08:00
InterestingDarkness
c9f90a2bd3
Update Gemini model options in Vertex AI section
...
- 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.
2025-05-28 09:26:06 +08: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
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