Files
SillyTavern/public/scripts
mightytribbleandCohee 2cd2bd4a4d Implement Gemini thought signatures (#4886)
* Implement Gemini thought signatures

* Implement streaming support for Gemini thought signatures

* Implement OR support for Gemini thought signatures

* Remove unnecessary extraction of thought sigs from response parts

* Update thought sig comments to remove explicit Gemini mention

* Fix thought_signature naming convention in message.extra

* Add thought_signatures to ReasoningMessageExtra typedef

* Prevent thought sigs being sent to incompatible endpoints

* Move signatures to populateChatHistory, update for consistent casing

* Code clean-up

* Only send thought signatures if target model and API match original

* Implement content-hash thought signature mapping

* Change the data model + split for text/functions

* Don't include signature to invocations if the model doesn't match

* Fix function description

* Remove misleading comment

* Handle OpenRouter signatures

* Improve message extra types

* Prevent modifying original invocations when removing signatures

* Fix return of openrouter non-streaming signatures

* Remove redundant array check

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-12-17 22:23:47 +02:00
..
2025-12-17 20:35:00 +02:00
2025-11-30 19:04:08 +02:00
2025-11-30 19:04:08 +02:00
2025-08-24 20:36:49 +03:00
2025-11-30 01:53:11 +02:00
2025-06-09 23:35:10 +03:00
2025-11-30 19:04:08 +02:00
2025-09-13 21:23:11 +03:00
2025-08-18 20:49:13 +03:00
2025-12-01 00:17:49 +02:00