Commit Graph

63 Commits

Author SHA1 Message Date
Copilot 7948886c1d Add Tool Call Recurse Limit slider to Chat Completion settings (#5518)
* feat: add Tool Call Recurse Limit slider to Chat/Message Handling settings

Agent-Logs-Url: https://github.com/SillyTavern/SillyTavern/sessions/ecbde89f-8f4d-4e91-9189-a998d12ca76b

Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com>

* feat: move tool call recurse limit to openai_settings under Chat Completion settings

Agent-Logs-Url: https://github.com/SillyTavern/SillyTavern/sessions/132e4c28-9564-47cd-92c1-e8ab50d88905

Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com>

* refactor: use CSS :has() selector instead of JS toggle for tool_call_recurse_limit_block visibility

Agent-Logs-Url: https://github.com/SillyTavern/SillyTavern/sessions/c562deb5-05ce-4ebf-84a0-9eeea9d24433

Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com>

* fix: wrap tool_call_recurse_limit_block in range-block for correct layout

Agent-Logs-Url: https://github.com/SillyTavern/SillyTavern/sessions/4d25a367-ac12-4e54-83b0-1543eb6f370a

Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com>

* fix: data-i18n attribute

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com>
2026-04-25 21:05:39 +03:00
GERNOMA 8f5c8f0a8e Open router provider filter (#5208)
* Added filter for OpenRouter models provider selection

Now if a model is selected, only available providers for that model will show. Wanted to do the same for the quants, but I think the API is not returning the quants available for each model at the moment. Used existing API that for some reason was not consumed.

* Added filter for OpenRouter providers

Now if a model is selected, only the providers available show. Wanted to do the same with the quants but it seems the OpenRouter API is not giving the available quants list at the moment for each model.

* gua

* Now it also works on chat completion and only disables options

* detail

* Warning added

* eslint

* Move inline styles to CSS

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2026-02-24 20:40:42 +02:00
Cohee 2fb4ab3184 Add Adaptive-P settings (#4945)
* TC: Add Adaptive-P settings and UI elements

* Improve compatibility with sampler select
2026-01-03 22:25:16 +02:00
Kristian Schlikow 6c8eb4d9ac Feat: Add toggle to exclude think/reason blocks from smooth streaming (#4849)
* Feat: Add toggle to exclude think/reason blocks from smooth streaming

* Fix: Adjust new setting name to properly reflect what it does

* Sync data-i18n with text content

* Add reasoning stream flags for Mistral, Claude and Google models

* Update layout

* Fix: Enhance reasoning handling in parseStreamData function

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-12-03 00:20:23 +02:00
Cohee 2eba10fa7f Gemini: Add image request settings (#4838)
* Gemini: Add image request settings

* Allow aspect ratio for 2.5 flash
2025-11-29 00:59:09 +02:00
Cohee 0a22856faf Chat Completion: Reduce number of toggles in AI Response Configuration (#4821)
* Chat Completion: Reduce number of toggles in AI Response Configuration

* Consolidate migration logic

* Don't enable media inlining if image inlining was disabled

* Fix icons showing on media toggle off

* Update i18n
2025-11-28 00:16:23 +02:00
Cohee 47765b6205 CC: Add advanced formatting null settings notice (#4661) 2025-10-16 23:41:08 +03:00
Cohee c03fd6a867 CC: Add model support indicators for function calling, image, and video inlining 2025-08-14 21:24:34 +03:00
Cohee 51904c2f10 Add persona titles (#4224)
* Add persona titles

* Refactor persona title editing
2025-07-03 19:28:09 +03:00
Cohee b0d6bba5a7 Add generic class for scroll delay 2025-06-06 10:55:48 +00:00
RossAscends 506e2f2c6f - fix charPanel div heights
- fix noHotswap area height & flex dir
2025-06-06 13:57:22 +09:00
Cohee 8d67874215 Adjust document mode styles 2025-05-24 23:50:49 +03:00
Cohee b4d6b8e405 Reformat CSS styles 2025-05-24 18:59:15 +03:00
Cohee d336ea7a13 Add rounded square avatars theme option 2025-05-22 00:39:00 +03:00
Cohee 864a733663 "Bind preset to connection" toggle (#3999)
* Implement THE TOGGLE

* Don't force reconnect on preset switch if toggle off

* Don't clear custom models list either
2025-05-17 20:40:58 +03:00
Wolfsblvt 8bd4fd76ae Merge branch 'staging' into persona-improvements 2025-02-22 19:23:59 +01:00
Cohee 8a4cf86b65 Integrate killswitch into the block 2025-02-15 00:28:38 +02:00
Wolfsblvt e5db40cf2d Add persona connection states to persona list
- Show persona connection/lock states in persona list (chat & char lock)
- Refactor persona images url to 'data-avatar-id' attribute
- Try make persona blocks' height consistent
- Fix persona list not correctly updating selected persona on navigating pages
- Fix group/char difference not correctly working
- Create common style template for hover-able images buttons/tags where the label only appears on hover
2025-01-29 22:54:22 +01:00
Cohee 91b2dc57fa Brighter warning for trim spaces disabled 2025-01-29 21:57:27 +02:00
Wolfsblvt 91dabeff53 Add css class to allow multiple avatar lists 2025-01-24 21:57:47 +01:00
Cohee c3b416b4cf Claude: fix prefill tool calling hack with at-depth caching 2024-11-19 20:48:02 +02:00
Cohee ff2c71c4ef MistralAI: Add new models to the list 2024-10-18 20:48:28 +03:00
Cohee e3e22ea095 Adjust left swipe position in no avatars mode 2024-10-13 23:11:13 +03:00
RossAscends d4c8b5c9da remove sendForm disconnected coloring, tweak CSS to accomodate light themes 2024-10-14 01:01:07 +09:00
Cohee c3078a67e1 Claude: Add prefill/tool interaction warning 2024-10-04 23:33:31 +03:00
Cohee 14b48c5b34 Add warning for trim spaces disabled 2024-09-29 01:28:02 +03:00
RossAscends b376ea884b Markdown hotkeys for textareas (#2800)
* initial commit

* dont hijack all ctrl keybinds

* change strikethrough bind, convert to subscribable class, target key textareas

* better early return, hotkey reversiblility

* possible undo solution, key checks to switch

* execCommand alternate, perfect Undo

* format full word when caret is in the middle of a word

* double backticks do nothing, dummy.

* ctrl+K for ....'K'ode snippet...

* remove console logs

* Add new hotkeys to help

* Allow hotkeys in message edit textarea

* add markdown hotkey help text

* help text addition to mention hotkeys work in message edits

* add markdown hotkeys to WI entry content box

* disengage if alt/win pressed, universal prevent default

* disengage if shiftKey pressed

* re-allow shift for one special case

* add MD hotkeys toggle in user settings

* add markdown enabled icon on relevant textareas when appropriate

* Add icon to help

* Uniform formatting

* Add opacity to icon

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-09-14 14:16:26 +03:00
Cohee 3a68dbfd58 Adjust padding for no avatars mode 2024-09-06 12:09:31 +00:00
Cohee 0253ef9cfd Merge branch 'staging' into dvh-units 2024-07-26 11:09:49 +00:00
RossAscends 545386f52c fix last mes swipe button loc when chat avatars are hidden 2024-07-25 15:42:19 +09:00
Cohee b7a1474d7b Switch to dynamic viewport units 2024-07-15 00:42:16 +03:00
Cohee 526d41edc3 Expose playFullConversation to UI 2024-07-10 23:32:00 +03:00
Cohee 0070950911 Revert grid view spacing 2024-04-25 12:26:21 +03:00
RossAscends e59a5b4449 toggle to hide chat avatars 2024-04-25 12:51:56 +09:00
Cohee f75daba6c0 Image inlining hint always visible 2024-04-21 23:38:18 +03:00
Cohee fcb47c9401 Fix zoomed avatars with moving UI 2024-04-14 20:13:45 +03:00
Cohee 54a6f4bc62 Add speed control 2024-04-02 22:52:51 +03:00
Cohee 80a207b696 Format CSS comments 2024-03-16 23:36:37 +02:00
Wolfsblvt dae90373e7 Tag Filters: Improve grid view
- Add character count to groups and folders in grid view
- Fix name cut-off for groups
2024-03-07 05:20:43 +01:00
Wolfsblvt 1b18969771 Tag Folders: Fix big avatars display 2024-03-07 04:34:12 +01:00
Wolfsblvt 9f42cafc39 Tag Folders: Clear all filters button
- Add "clear all filters" button for tag and search filters
- Resize back button to take less space
- Fix char grid display
2024-03-07 04:26:33 +01:00
Wolfsblvt fc6146fa00 Tag Folders: Rework favorites display
- Favorites display uses same method than inline avatars
- Favorites now respect avatar style
2024-03-06 04:59:39 +01:00
Wolfsblvt c0e112d195 Tag Folders: inline info for groups and avatars
- Add list of character avatars to folders (overflow hidden)
- Add and/or move count of characters for both groups and folders in overview
- Add name list of all chars for groups, above tags
- Replace alt texts of all avatar images with the entity name
- Made title/mouseover tooltip more useful with separation between types and their names
- refactored CSS usage of avatar sizes to global variables
- grid view alignment changes
2024-03-03 02:12:18 +01:00
Cohee 456c4c333f Creator notes in char list are no longer first line only. 2024-03-02 19:46:59 +02:00
Cohee 872418757c #1761 Personas grid view (slight return) 2024-01-31 12:13:01 +02:00
Cohee d800e19067 Fix bogus folder height in rectangular grid mode 2024-01-31 11:15:33 +02:00
Cohee 4542c66664 #1761 Persona management overhaul 2024-01-30 19:12:56 +02:00
Cohee ad9130b538 Single doc mode: edit on click 2023-12-09 16:01:43 +02:00
Cohee 19f758a0fb #670 Add square avatars 2023-11-26 15:27:54 +02:00
Cohee 2c4f53e7b5 Add native GPT-4V image inlining 2023-11-12 00:09:48 +02:00