Commit Graph

68 Commits

Author SHA1 Message Date
Cohee
134ade0951 secret.js: update for new popup 2025-06-02 23:49:56 +03:00
Cohee
4e75f2fa4d Change no neutral warning text to align with other inputs 2025-05-28 20:45:35 +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
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
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
NijikaMyWaifu
157315cd68 Add Vertex AI express mode support (#3977)
* 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>
2025-05-22 20:10:53 +03:00
Cohee
1c52099ed6 Add xAI as chat completion source 2025-04-10 22:59:10 +03:00
equal-l2
2a31f6af2d Remove Block Entropy references
Block Entropy shut down their service at the end of 2024.
2025-03-28 00:47:30 +09:00
Cohee
4ced7abaa3 OpenRouter: Fix OAuth flow with enabled accounts 2025-03-24 20:22:59 +02:00
Yokayo
40c3674da1 Update tl 2025-03-17 16:09:36 +07:00
Kristan Schlikow
6e0ed8552f Add support for FAL.AI as image gen provider 2025-02-13 19:34:34 +01:00
Cohee
5e540f4f97 Websearch: add Serper API endpoint 2025-02-08 22:28:12 +02:00
Cohee
4c7d160d41 DeepSeek
Closes #3233
2024-12-29 20:38:13 +02:00
Cohee
3167019faf Add generic text completion API type (100% OAI compatible) 2024-12-13 01:12:10 +02:00
Cohee
67869364a5 ImageGen: add BFL API for image generation 2024-11-19 00:30:28 +02:00
Cohee
f4ef324203 Merge pull request #3024 from dylan1951/add-nano-gpt-provider
Add NanoGPT chat completions provider
2024-10-31 19:30:24 +02:00
Cohee
f5bdb52c25 Merge branch 'staging' into webpack 2024-10-26 19:11:29 +03:00
dylan
0882fb2d15 Add NanoGPT as chat completions provider 2024-10-26 16:51:39 +13:00
Cohee
0f320dd362 WebSearch: Add endpoint for Tavily 2024-10-23 23:38:17 +03:00
Cohee
3387fe4bd6 unvendor: Replace DOMPurify 2024-10-16 23:11:13 +03:00
Cohee
1883095e39 Move request to backend 2024-08-13 20:29:33 +03:00
Edward Kim
b9857eb315 Added block entropy endpoints for chat and image 2024-08-08 00:08:03 -04:00
Cohee
e32b0cc223 Move Stability generation to backend 2024-07-04 22:36:17 +03:00
Cohee
b62cbdeebd Merge branch 'staging' into DarokCx/release 2024-06-28 19:09:12 +03:00
Cohee
bbb1a6e578 Add huggingface inference as text completion source 2024-06-28 18:17:27 +03:00
DarokCx
29ff0876a7 Added additional headers 2024-06-28 08:20:15 -04:00
Cohee
cf56bfb6a9 Add 01.AI as a chat completion source 2024-06-28 00:51:09 +03:00
DarokCx
bd5592de7b Added featherless, connect button not working 2024-06-27 09:06:11 -04:00
Cohee
f5fccc0387 Add Azure TTS service 2024-05-22 01:37:51 +03:00
Cohee
181b5aff97 Add Groq as chat completion source 2024-05-05 18:53:12 +03:00
sasha0552
2bd239fe81 Initial vLLM support 2024-05-02 22:40:40 +00:00
Cohee
2e278e7323 Fix missing localization for unknown locale 2024-04-26 22:57:42 +03:00
Yokayo
2b1aee9e71 Localize two hard-coded strings 2024-04-24 21:07:42 +07:00
Cohee
2a2a63c52c Add Perplexity as Chat Completion source 2024-04-20 00:09:38 +03:00
Cohee
9838ba8044 #1994 Add Cohere as a Chat Completion source 2024-04-02 00:20:17 +03:00
Cohee
a96bb40505 #1991 Add API key for llama.cpp 2024-03-31 00:27:12 +02:00
Cohee
acf36b6107 Add koboldcpp API key/password support 2024-03-14 00:34:09 +02:00
Kristian Schlikow
44a7dd3d74 Add NomicAI for vectorization (#1922)
* Crudely add NomicAi for vectorization

* Move NomicAI to its own endpoint, properly handle API key

* Adjust clear button html

* Remove leftover nomicai http header code

* Revert changes to openai-vectors.js

* Fix UI issues

* Revert change to settings, fix UI

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-03-12 21:10:25 +02:00
DreamGenX
5c410986a4 Add support for DreamGen API.
API docs: https://dreamgen.com/docs/models/opus/v1
API keys: https://dreamgen.com/account/api-keys

I decided to base this on the text-completion API since it's more
flexible with SillyTavern's prompt formating capabilities.

This also means that custom context and instruct settings are required.

Will add documentation in a followup PR.
2024-03-07 12:25:48 +01:00
Cohee
f962ad5c02 Add OpenRouter as a text completion source 2024-02-25 22:47:07 +02:00
Cohee
dab9bbb514 Merge pull request #1844 from infermaticAI/InfermaticAI
Add InfermaticAI as a text completion source
2024-02-24 14:28:09 +02:00
Cohee
cb536a7611 Save a list of safe to export secret keys 2024-02-23 21:41:54 +02:00
NWilson
b5887960b6 Merge branch 'release' into InfermaticAI 2024-02-16 08:53:04 -06:00
Cohee
c3129da879 [skip ci] Lint fix 2024-02-07 19:28:34 +02:00
oobabooga
21fb143718 Add API key 2024-02-06 20:00:16 -08:00
NWilson
f29f934c6b Progress 2024-01-24 06:59:27 -06:00
Cohee
5734dbd17c Add custom endpoint type 2023-12-20 18:29:03 +02:00
anachronos
1e88c8922a Merge branch 'staging' into release 2023-12-17 10:38:04 +01:00
Fayiron
eb2a85cfe0 Add TogetherAI API key to secrets.js 2023-12-16 15:11:04 +01:00
based
041957975a add mistral completion source to UI 2023-12-16 06:08:41 +10:00