Commit Graph
5326 Commits
Author SHA1 Message Date
Cohee 36a3a7d615 Merge pull request #3486 from Yokayo/staging
Update ru-ru translation
2025-02-17 20:45:40 +02:00
Cohee 87afb1633b reasoning-set: Return if message not found 2025-02-17 19:54:50 +02:00
Cohee e5e2c9fe49 Merge branch 'staging' into reasoning-parsing-streaming 2025-02-17 19:43:09 +02:00
Cohee 580856064e Merge pull request #3496 from SillyTavern/parse-reasoning-command-args
Add 'return' and 'strict' to `/reasoning-parse`, and make all reasoning parsing strict by default
2025-02-17 19:37:20 +02:00
Wolfsblvt 994d69508b Merge branch 'parse-reasoning-command-args' into reasoning-parsing-streaming 2025-02-17 03:54:24 +01:00
Wolfsblvt 1ad3a2b968 Add 'return' and 'strict' to /reasoning-parse
- Add 'return' arg to `/reasoning-parse` to decide whether to return the reasoning, or the content without reasoning. Defaulting to reasoning.
- Add 'strict' arg to `/reasoning-parse` to decide whether the reasoning block has to be at the beginning of the provided message or not. Defaulting to true.
- Update parsing of all reasoning (even the auto parse one) to be strict by default - meaning the regex block has to be at the beginning (excluding whitespaces)
2025-02-17 03:47:31 +01:00
Cohee 058c86f3c1 Vectors: Don't use headers for source-specific fields in requests 2025-02-16 23:59:00 +02:00
Cohee 1156b648eb Merge branch 'staging' into reasoning-parsing-streaming 2025-02-16 23:12:41 +02:00
Cohee ec49b19aff Fix chat render when OpenRouter "website setting" model used 2025-02-16 22:46:44 +02:00
Cohee 4d323ec76f OpenRouter: Add new providers to the list
Closes #3491
2025-02-16 18:15:26 +02:00
Cohee a434d217cc Fix input prompt title for creating a new Quick Reply Set 2025-02-16 16:25:08 +02:00
Yokayo 890d10d811 Work on tl 2025-02-16 18:43:57 +07:00
Wolfsblvt b3688087d5 Save reasoning type with the message
- use mes extras property to save where the reasoning came from
- update it accordingly on streaming, slash commands and manual add
- Modify title tooltip on reasoning header to show the origin where it makes sense, providing the user with a little bit more orientation about the reasoning.
2025-02-16 05:05:48 +01:00
Wolfsblvt bcea4248c4 Shouldn't parse reasoning if real reasoning there 2025-02-16 03:21:02 +01:00
Wolfsblvt 9590127bae Handle auto parsing reasoning during streaming
- Add function to handle auto parsing reasoning from the streamed message during streaming
- Only works when the reasoning prefix is EXACTLY at the beginning of the message
- Tried to keep this lightweight, no regex parsing, remembering the index, so it's simple string splicing
- Add utility function that trims a string only if `trim_spaces` is enabled
2025-02-16 03:09:20 +01:00
Cohee 1f41124844 Remove pointless return 2025-02-16 02:13:08 +02:00
Cohee 3d492523e2 Merge branch 'staging' into tc-global-banlist 2025-02-16 01:12:23 +02:00
Wolfsblvt 37d9d4c253 Make sure auto-expand doesn't conflict with hidden 2025-02-15 21:44:06 +01:00
Cohee 23f0b6ed09 Add a blank line 2025-02-15 12:38:45 +02:00
Cohee c87e203b4a Refactor banned strings kill switch functions into a single toggle function 2025-02-15 12:37:48 +02:00
Wolfsblvt dd50f49176 Fix auto expand on thinking during new message 2025-02-15 10:23:36 +01:00
Cohee c37c9051a6 Fix bug when only global bans are defined 2025-02-15 00:34:07 +02:00
Cohee 8a4cf86b65 Integrate killswitch into the block 2025-02-15 00:28:38 +02:00
Cohee a2a15b9978 Merge branch 'Banned-Strings-Killswitch' into tc-global-banlist 2025-02-15 00:12:16 +02:00
Cohee 5477586ce4 Merge pull request #3476 from Dakraid/feature/fal-integration
Feature: FAL.AI Integration
2025-02-13 23:04:40 +02:00
Kristan Schlikow 76becb43ae Pass through errors coming from FAL to the user 2025-02-13 21:43:08 +01:00
Kristan Schlikow b033b98532 Address issues raised in PR 2025-02-13 21:09:13 +01:00
Cohee 412d638e9e Text Completion: Add global banned strings list 2025-02-13 22:07:36 +02:00
Kristan Schlikow 6e0ed8552f Add support for FAL.AI as image gen provider 2025-02-13 19:34:34 +01:00
Cohee f101dd571f Add deprecated warnings to f-localStorage 2025-02-13 20:00:47 +02:00
Cohee 1a52d3c293 Fix rendering of messages without extra object 2025-02-13 12:22:41 +00:00
Cohee d6bf3439b4 Don't try to update reasoning for impersonation stream 2025-02-13 10:55:32 +00:00
Wolfsblvt 5de2f8ea2d Add o1 to vision-supported models 2025-02-13 02:40:34 +01:00
Wolfsblvt 93f3334ad0 Make hidden reasoning blocks not toggleable 2025-02-12 22:38:26 +01:00
Cohee 25a2582d15 Merge pull request #3444 from SillyTavern/hidden-reasoning-tracking
Track reasoning duration for models with hidden reasoning
2025-02-12 23:26:47 +02:00
Cohee d076a210a1 Bring f-localStorage back 2025-02-12 23:08:11 +02:00
Wolfsblvt b5fc7d6d4d Add toggle for showing hidden reasoning 2025-02-12 22:04:48 +01:00
Cohee 34db46d84b Merge branch 'staging' into hidden-reasoning-tracking 2025-02-12 20:00:52 +02:00
Wolfsblvt c2377f0c13 Re-add reasoning placeholder check to prompt build
- Was removed because placeholder is not needed anymore. But for compatibility with old saved chats from staging that might have this, we should keep it for a while (or forever)
2025-02-12 18:43:05 +01:00
Cohee 829888bda7 AccountStorage: Fix migration logic 2025-02-12 12:00:31 +02:00
Cohee 34d17a4fcb Migrate QR editor preferences to accountStorage 2025-02-12 11:29:27 +02:00
Cohee 340c03cedf Make user input saving account-specific 2025-02-12 11:21:13 +02:00
Cohee 5085f6cdc9 Refactor AccountStorage to use private fields for state management 2025-02-12 10:58:36 +02:00
Cohee d4061cc139 Merge branch 'staging' into bogus-localstorage 2025-02-12 10:38:54 +02:00
Cohee d1018a824c Merge branch 'staging' into hidden-reasoning-tracking 2025-02-11 23:45:13 +02:00
Wolfsblvt d9b2311e17 Allow editing/adding hidden reasoning blocks
- Fix cancel not cancelling correctly
- Allow editing/adding of hidden reasoning blocks
- Make style and tooltip to show on edit that hidden reasoning is present
- Update reasoning UI on edit cancel - to be sure
2025-02-11 22:17:40 +01:00
Wolfsblvt 21af0243d6 Rework reasoning CSS selectors and fixes
- Remove reliance on :empty state of reasoning textbox, now using the actual css class on mes (".mes.reasoning")
- Fix reasoning add not working when Auto-Expand is not enabled
- Clean setting of dataset attributes, now removing when null
2025-02-11 21:45:54 +01:00
Cohee 63e3816e92 Remove reasoning from queit prompt results if auto-parse is enabled
Fixes #3457
2025-02-11 22:35:56 +02:00
Wolfsblvt d60609716b Yoink reasoning placeholder from being saved 2025-02-11 20:58:05 +01:00
Cohee ee101353d8 Clear media alerts from storage on character deletion 2025-02-11 20:31:37 +02:00