* Added structured output for common APIs
* eslint
* Added frontend impl
* Type name change
* Unprefix json_schema, apply review suggestions
* Add schema to generateQuietPrompt, add comments
* Prettify diff
* Extract JSON from Claude response
* Add structured gen for Mistral
* Hack to support schema for DeepSeek
* Hack JSON schema for AI21
* Add Groq structured gen
* Add JSON mode for pollinations
* Add JSON schema for perplexity
* Add JSON schema for AIML
* Using extractJsonFromData in custom-request, added google rules for flattenSchema
* Fix response parsing
* Fix Google
* Fixed json parse
* Expose generateRaw to getContext
---------
Co-authored-by: Cohee <18619528+Cohee1207@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>