Commit Graph
1348 Commits
Author SHA1 Message Date
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 edf307aa9c claude 4 2025-05-22 21:14:13 +03:00
Cohee ade45b6cd1 Allow prompt post-processing for all sources. Add 'single user msg' processing (#4009)
* 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
2025-05-22 20:36:22 +03:00
NijikaMyWaifuandCohee 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 a815461d5a GOOGLE THONK IS BACK 🚀
Closes #4024
2025-05-21 23:42:21 +03:00
Cohee 0b260fe835 Only allow POST requests to ping endpoint 2025-05-21 23:25:01 +03:00
Cohee 84745034e7 Fix handling of recent group chats if empty
Fixes #4022
2025-05-21 22:50:15 +03:00
Cohee 074ca4a55b flash preview 2025-05-20 21:22:00 +03:00
Cohee c3376da393 Fix import of chars and lorebook by chub URL
Closes #4011
2025-05-19 19:37:54 +03:00
Cohee 99d473654f Pollinations: write failed image request body to console 2025-05-19 00:15:08 +03:00
Cohee 213a619b33 Change server ping to POST method
Closes #4006
2025-05-17 16:50:02 +03:00
Cohee c218c1baea ZIP extraction error handling (#4002)
* Improve error handling in extractFileFromZipBuffer function

* Add warning logging to NovelAI image upscaling
2025-05-16 19:57:33 +03:00
Cohee 587cecb12c Join recent chat/group queries 2025-05-14 10:25:38 +03:00
Cohee 249cb7777c Merge branch 'staging' into welcome-screen 2025-05-13 19:52:40 +03:00
Cohee cf28df381c Fix Pollinations img query params 2025-05-13 10:15:45 +03:00
Cohee e2c44161ed Show recent group chats 2025-05-12 21:44:00 +03:00
Cohee c45f1ceaff Show more recent chats 2025-05-12 20:16:56 +03:00
Cohee 31e2cf714a Permanent assistant autocreation and temporary chat restore 2025-05-12 02:14:54 +03:00
Cohee e975d37436 [wip] Welcome screen prototype 2025-05-12 00:28:42 +03:00
Cohee 420d568cd3 Pollinations - Text (#3985)
* [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
2025-05-11 20:14:11 +03:00
Cohee 8a4da487dd llamacpp: use generic CC endpoint for captioning 2025-05-09 22:33:25 +03:00
Cohee 104d4ccebc Merge pull request #3971 from SillyTavern/ccllaauuddee
Assorted Claude adjustments
2025-05-09 00:02:30 +03:00
Cohee 596353389b DeepSeek: don't send empty required arrays in tool definitions 2025-05-08 21:22:58 +03:00
Cohee c1c77a6a60 Claude: add web search tool, adjust prefill voiding
Closes #3968
2025-05-08 20:51:38 +03:00
Cohee da7f97b663 Claude: "Auto" effort = no thinking 2025-05-08 20:28:35 +03:00
Cohee b25322b844 Merge pull request #3933 from SillyTavern/feat/ext-installer-branch
Add branch selection on extension installer
2025-05-04 12:35:05 +03:00
Cohee 62b02bec3f Merge pull request #3940 from wickedcode01/bug-fixed
Fix the issue where deleting files on Windows may cause the application to crash.
2025-05-01 17:00:11 +03:00
huisman 2301b5324a Update ollama links to current ollama github url 2025-05-01 11:29:39 +00:00
wickedcode d3bb625efe fix: recommend to use unlinkSync instead of rmSync, which has a better compatibility handling non-English characters 2025-05-01 03:09:25 -04:00
wickedcode 7431b0e8aa fix: replace rmSync with unlinkSync to resolve an issue deleting files with non-English characters in their names 2025-05-01 02:23:19 -04:00
Cohee 2c0dcdc449 Refactor git operations to use baseDir 2025-04-30 23:54:14 +03:00
Cohee 9cff3861b4 Fix path.join to extension 2025-04-30 22:41:50 +03:00
Cohee 71e92af09d Fix console verbiage for global extensions 2025-04-29 02:02:20 +03:00
Cohee 3340009a29 Add branch management functionality for extensions 2025-04-29 02:00:25 +03:00
Cohee 310b0f30cd Add branch selection on extension installer
Closes #3865
2025-04-28 22:53:22 +03:00
Cohee ed895b7c3e Merge pull request #3889 from BismuthGlass/feature/wi_global_matches
World Info chat-independent data matching
2025-04-27 21:00:57 +03:00
Cohee 6fb664fe24 Merge pull request #3919 from cloak1505/gemini-patch
Prune Google models
2025-04-27 20:36:47 +03:00
Cohee 28ca8176f8 Merge pull request #3857 from wrvsrx/allow-readonly-install
Allow read-only installation
2025-04-27 19:12:12 +03:00
Cohee 31cc05ae46 Move setPermissionsSync to util 2025-04-27 18:23:57 +03:00
Cohee 7c54a74ffa Add another ugli ahh list for no grounding models 2025-04-27 15:11:23 +03:00
Cohee 15daf19a08 Streaming endpoint is no longer busted
But still ass
2025-04-27 14:58:23 +03:00
Cohee 61c7f53d22 Move endpoint version to conifg. Refactor ugli model lists 2025-04-27 14:56:51 +03:00
cloak1505 340be02777 Default HARM_CATEGORY_CIVIC_INTEGRITY to OFF
All models support either all BLOCK_NONE, or all OFF.
2025-04-26 18:43:56 -05:00
cloak1505 fc09be75a6 Almost done with Google pruning
* Put back 1.5-latest
* Put back missing flash 002 (same deal about safetySettings like pro 001 vs 002)
* Remove dead models and gemma from BLOCK_NONE check
2025-04-26 17:54:34 -05:00
cloak1505 05e60ff00b Exclude gemini-2.0-flash-lite from web search 2025-04-26 13:04:00 -05:00
cloak1505 a764e5ce54 Exclude LearnLM from web search 2025-04-26 12:51:26 -05:00
cloak1505 01d52f140a Update "Use system prompt" 2025-04-26 12:19:06 -05:00
cloak1505 28d42e5200 Prune Google models 2025-04-26 11:39:44 -05:00
Cohee 6848b38bb7 Merge pull request #3900 from equal-l2/vision-cleanup
Vision cleanup
2025-04-26 01:21:42 +03:00