Commit Graph
1438 Commits
Author SHA1 Message Date
Cohee 7429726eb1 Remove Window AI from CC sources (#4294) 2025-07-22 19:45:54 +03:00
Cohee d070982ad7 Bump multer field size limit
Closes #4291
2025-07-21 20:26:18 +03:00
Coheeandgemini-code-assist[bot] 5d56992ea8 Feat/global install (#4289)
* Update npm dependencies

* Add global paths mode
Closes #4209

* Update src/command-line.js

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Async => Promise.resolve

* Remove unnecessary Promise.resolve()

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-21 00:24:49 +03:00
Cohee c292f64163 Add generation type triggers to world info (#4286)
* Add generation type triggers to world info

* Simplify includes check

* Refactor getEntryField validation and default value handling

* Remove invalid attribute

* Check for a valid trigger
2025-07-20 00:22:54 +03:00
Cohee e7ad36a758 Merge branch 'release' into staging 2025-07-17 13:49:35 +00:00
Cohee a64aae3edf Fix recover.js script 2025-07-17 13:49:15 +00:00
Cohee 7894e4d361 Google: Fix video inlining with PPP
Fixes #4268
2025-07-15 23:28:26 +03:00
Cohee 0e1d29acfe Bump request payload limits 2025-07-15 23:23:07 +03:00
Cohee f8f9ee8a0e NanoGPT: Add backend web search 2025-07-15 22:47:10 +03:00
bmen25124andCohee cd176039ef Added structured output for common APIs (#4272)
* 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>
2025-07-15 21:54:36 +03:00
Cohee a4ec66f230 Pollinations: write voice request URL to console 2025-07-14 22:45:01 +03:00
Cohee d3a19f795e Fix type error in falai response handler 2025-07-14 22:42:27 +03:00
Cohee 4607132576 Pollinations: add as TTS provider 2025-07-14 22:29:30 +03:00
Frédéric BolvinandCohee 71a3ad0edb apply gemini safety settings as extra_body in OpenRouter requests (#4256)
* 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>
2025-07-14 21:03:46 +03:00
Cohee 9a392afee3 Fix type checks 2025-07-13 16:58:34 +03:00
Cohee c9111596c0 Prefer node-fetch instead of native 2025-07-13 16:57:22 +03:00
Cohee 489d46b9a0 Perplexity: unlock reasoning effort 2025-07-09 20:51:21 +03:00
Cohee 86bac00a81 Groq: Pull models list from endpoint 2025-07-09 20:25:20 +03:00
Cohee b737af47b5 Refactor OpenAI preset API endpoints to unify save and delete operations 2025-07-08 21:32:58 +03:00
Cohee 5a6d93fc03 Vectors: Fix passing model id to AI Studio 2025-07-08 09:41:28 +00:00
Cohee 96bdc13937 Replace ajax with fetch (#4241)
* Replace ajax with fetch
Fix type errors in power-user / group-chats modules

* Fix single sprite upload

* Return empty object on failed upload
2025-07-06 23:27:53 +03:00
Jenner La Fave b45477578f Fix FAL.AI models list endpoint (#4236)
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.
2025-07-06 14:53:41 +03:00
Cohee 1e63fdd4b3 Clean-up console.trace calls 2025-07-04 01:25:47 +03:00
Cohee 4efed978f0 Enhance file name validation by allowing objects with toString method 2025-06-28 22:36:21 +03:00
Cohee 1e3fada8d7 Prefer sanitize filename with extension 2025-06-28 22:25:14 +03:00
Cohee cdefddef6c Implement persona thumbnails (#4210)
* Implement persona thumbnails

* Dear Firefox, fix your overzealous image cache

* Add cache busting for avatar uploads when overwriting existing files
2025-06-28 21:39:32 +03:00
Marcela Petra Ferraz de NovaesandCohee 34118bbdc2 Feature/Perchance AI Character Chat import (#4211)
* 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>
2025-06-28 16:18:26 +03:00
Cohee d91c6c28cb Translate: Update API key management 2025-06-28 15:32:29 +03:00
Cohee dbe0111034 Refactor saveBase64AsFile uploads (#4200)
* Refactor saveBase64AsFile uploads

* Add request body check

* Extract server-side constants

* Allow .jfif media attachments

* Allow .bmp uploads

* Enhance image prompt handling: support additional MIME types and prevent upscaling in thumbnails

* Convert file extension to lowercase

* Enhance thumbnail creation: improve image quality and add white background

* Add toast for error in media upload
2025-06-25 21:34:08 +03:00
Cohee 7755fc50a5 Image Generation: Support video outputs for ComfyUI (#4194)
* 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
2025-06-25 20:11:09 +03:00
Cohee f8d7a3e853 Verify if passed a jimp instance to applyAvatarCropResize 2025-06-24 23:38:25 +03:00
02lokaandCohee e3923a7be3 Fixed minor avatar cropping bug in avatars.js (#4192)
* 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>
2025-06-23 23:09:54 +03:00
Cohee 2b7c0a3d37 Extensions: Check if directory is a repo root before updating/getting status 2025-06-23 22:03:41 +03:00
Cohee 2a1d07c46a Don't treat attached videos as unused files 2025-06-23 00:16:44 +03:00
Cohee 50cd88c5dc Ollama: deprecate Mirostat params
Closes #4188
2025-06-22 18:39:28 +03:00
Cohee 5605265862 Google: Fix image generation on deprecated models 2025-06-21 23:54:36 +03:00
Cohee 0677777a74 Fix AI Studio image generation params 2025-06-21 23:38:26 +03:00
Wandering MouseandCohee 116bef6c9f Add support for characterFilter to getEntryField and setEntryField (#4185)
* 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>
2025-06-21 22:10:56 +03:00
Cohee 2d28f5cdaf Google: Add Imagen image generation 2025-06-20 20:44:21 +03:00
Cohee 14831ac5df Display local TZ name 2025-06-20 15:38:53 +00:00
Cohee 7a84563add Display local date of git HEAD 2025-06-20 08:20:42 +00:00
Cohee e657b61df7 New Jeremy 2.5 2025-06-18 00:09:50 +03:00
Cohee c228de06a8 Copium for old Node 18 2025-06-17 22:01:57 +03:00
Cohee 195034637f Fix browser launch on android 2025-06-16 22:56:01 +03:00
powercallerandCohee 48f18cb74a Feature: Google Native TTS (#4163)
* google native tts impl

* Refactor getting google auth data

* Bring back status json

* Native TTS => Gemini TTS

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-06-15 16:58:01 +03:00
CompassandCohee 083f92b2b2 Add region option for vertex express mode to access more models (#4155)
* 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>
2025-06-15 15:26:12 +03:00
Cohee 6445c8fec2 DeepSeek: Add tool calls for reasoner model
Fixes #4161
2025-06-15 00:12:03 +03:00
Cohee 34873024b0 xAI: Enable backend web search
Closes #4160
2025-06-14 23:46:08 +03:00
Cohee 363b07ab0b Add try-catch to rename chat endpoint 2025-06-14 22:56:42 +03:00
Dmitry fece612f09 Merge pull request #4135 from D1m7asis/release
feat: Added AI/ML API Provider Support
2025-06-13 20:59:18 +03:00