* Gemini images for non-streaming
* Parse images on stream
* Add toggle for image request
* Add extraction params to extractImageFromData
* Add explicit break and return
* Add more JSdoc to processImageAttachment
* Add file name prefix
* Add object argument for saveReply
* Add defaults to saveReply params
* Use type for saveReply result
* Change type check in saveReply backward compat
* continue works same as swipe continued message isn't depth counted
* correct early-out check
* update regex depth setting tooltips for accuracy
* update max tooltip
* remove redundant check
* Allow -1 as a min depth value
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
mesExamples in the story string is formatted while mesExamplesRaw
is unformatted. However mesExamples when used as a normal macro
is unformatted. This causes an inconsistency in usage which is now
corrected.
Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
* Added translate to reasoning block
* Added mising reset value
* Shortcut nullable type
* Added reasoning edited/deleted events, better naming
* Fixed async call
* Added await to saveChat calls
* Exported updateReasoningUI
* Removed translated reasoning on edit if auto mode is none
* Added new value check before updating reasoning block, fixed an issue that display value stays same when we edit the message.
* Translate reasoning before the main message
* Fixed auto mode translate for reasoning message
* Translate reasoning first. Prevent out of bounds access
* Fix translating reasoning on swipe generation
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* sendOpenAIRequest/getTextGenGenerationData methods are improved, now it can use custom API, instead of active ones
* Added missing model param
* Removed unnecessary variable
* active_oai_settings -> settings
* settings -> textgenerationwebui_settings
* Better presetToSettings names, simpler settings name in getTextGenGenerationData,
* Removed unused jailbreak_system
* Reverted most core changes, new custom-request.js file
* Forced stream to false, removed duplicate method, exported settingsToUpdate
* Rewrite typedefs to define props one by one
* Added extractData param for simplicity
* Fixed typehints
* Fixed typehints (again)
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>