* 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>
* apply gemini safety settings as extra_body in OpenRouter requests
* revert adding new gemini safety category
* Make it actually work
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
The FAL.AI endpoint seems to have switched to a paginated format where the
results are nested under an `items` key. This updates the endpoint handler to
fetch all pages and extract the model options correctly.
* Adding ZLib and Jimp imports.
* Adding checks to see if UUID or URL are from Perchance.
* Adding conversion for Perchance cards and avatar.
* Adding label and example for Perchance character import.
* Adding localization of Perchance import option.
* Lint dangling comma fix.
* Simplifying one liner arrow function.
* Checking .gz at the end of Perchance url.
* Refactoring.
* Handling Base64 avatars.
* Fixing issue with UUID and refactoring.
* Adding char name to Perchance UUID example.
* Undoing unwanted variable name change of avatarBuffer to defaultAvatarBuffer
* Adding null check.
* Minor adjustments: renaming variable and organizing imports.
* Simple refactoring and reducing level of console messages.
* Add character source for perchance
* Add null check
* Use slug for source
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* ImgGen: ComfyUI support video outputs
* Fix video format check to handle undefined and case sensitivity
* Fix error handling and add output debug log in comfy workflows
* Refactor Comfy generation result
* Add video file extensions constant
* Fixed avatar cropping bug in avatars.js
Persona icons/profile pictures were forced to a 2:3 ratio despite "Never resize avatars" being enabled.
Moved a misplaced line of code inside the crop condition to fix this behavior.
* Fix indentation for ESLint compliance
**Attempted** to correct indentation on line 49 of avatars.js to pass ESLint check.
* Update avatars.js
Gave my best to fix it :(
At the very least the issue is known now.
* Update avatars.js
Removed empty characters (formatting)
* Fixed avatars.js
Fixed the issue of avatar's not changing after my recent revision.
* Update avatars.js
Accidentally left a duplicate line; removed it now
* Extract reusable function for avatar resize
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Add support for characterFilter to getEntryField and setEntryField
* No more conflicts between lint and autoformat
* Fix array type default values hint
* Properly capitalize name
* Fix search by name
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* add region option for vertex express mode to access more models
* add region option for vertex express mode to access more models
* fix: Consolidate duplicate 'vertexai_region' input
* feat: add vertex region suggestion datalist & update caption endpoint to correctly handle region
* Adjust global projectless Vertex endpoint
* Remove pointless slash trim
* Skill issue
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Secret manager (now for real)
* Refactor secret manager dialog
* Add error handling to secrets migration
* Adjust default value
* Add secret-id slash command
* Add secret management slash commands
* Improve type definitions
* Improve compatibility of UUID generator
* Add copy buttons to manager view
* Improve compatibility with Vertex AI service account
- Changed to input since textarea can't be used with datalist
- Unblock regular key placeholder
- Save email as a key label
- Interrupt validation if the input is a UUID (autocompleted)
* Add optional label input for secret values in key manager dialog
* Update masking rules
* /secret-id: make the arg "required" (it's not)