Commit Graph
1405 Commits
Author SHA1 Message Date
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
Cohee 87f618d15c Rework browser launch functionality (#4143)
* Add browser selection to auto-launch

* Update readmes

* Update readme

* Display browser name in a console
2025-06-12 22:17:34 +03:00
Cohee 8d2b9d2dab Secrets manager (#4131)
* 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)
2025-06-11 21:26:19 +03:00
Cohee 320b7b1450 Write /edit endpoint error to console 2025-06-11 10:53:15 +00:00
Cohee a5127a58e6 Add PPP types allowing tool calls (#4125) 2025-06-09 22:17:54 +03:00
InterestingDarkness 358bbf8622 Replace url.origin with trimTrailingSlash (#4118)
* Replace url.origin with trimV1

* Replace url.origin with trimTrailingSlash
2025-06-08 19:09:15 +03:00
Cohee d0b4eb2abb Allow bypass AI Studio status check 2025-06-08 02:49:58 +03:00
Cohee dfc1688eb5 Load bg thumbnail config from backend 2025-06-08 00:01:10 +03:00
Cohee c22d70793d Refactor /status endpoint 2025-06-07 22:40:52 +03:00
InterestingDarkness a106602f25 Add static model list for Google AI Studio 2025-06-08 02:36:01 +08:00
InterestingDarkness ff4a98a939 Implement Google AI Studio model list dynamic fetching 2025-06-08 01:10:31 +08:00
Cohee d55676d6d5 New Jeremy 2.5 Pro 2025-06-05 20:14:46 +03:00
Cohee 96fb85457f Gallery: add delete functionality for gallery items 2025-06-04 23:53:18 +03:00
Cohee f646c9416a fix: handle enhance parameter in pollinations generate endpoint 2025-06-04 23:25:13 +03:00
Cohee 0eff634bd0 OpenRouter: add cache TTL control for Claude 2025-06-04 20:30:20 +03:00
Cohee 1ae4c22ebc Merge pull request #4086 from NicodeSS/release
fix: lowercase remote-user header in authelia auto-login procedure
2025-06-02 17:27:54 +03:00
Nicode cfa9ef4726 fix: lowercase remote-user header in authelia auto-login procedure
Ensure the remote-user header is lowercased to fix case-sensitivity issues in the authelia auto-login process, improving compatibility.
2025-06-02 20:53:39 +08:00
Cohee 281ce10040 Update placeholder for empty message 2025-06-02 11:44:56 +03:00
Nikolas BrownandCohee c4d89b2067 Gemini inline video (#4078)
* Add inline video attachment support for Gemini 2.5 Pro

* file formatting

* removed redundant function for saving video to message

* removed other redundant function for saving video to message

* Seperate inlining check for video

* Edit video token cost to be a conservative estimate of 10000 tokens

* fixed missing semicolon

* Adds seperate ui toggle for video inlining.

* Move mes_video out of img_container

* Remove title from video element for now

* Better visibilty of video with controls

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-06-01 15:04:16 +03:00
Cohee 3ec9b1a099 Implement data clean-up dialog (#4072)
* [wip] Add user data cleanup service

* Add clean-up report viewer

* Fix review comments

* Add function comments

* Implement item actions

* Fix UI styles

* Add placeholder for empty results, update category description view

* Add displayEmptyPlaceholder method to show message when results list is empty

* Adjust menu buttons row

* Delete char-scoped data bank attachments on character deletion

* Data Bank: Handle character attachments on rename

* Remove line breaks in description strings

* Drop the category when the last item is deleted

* Skip invalid hashes instead of bailing
2025-06-01 13:56:34 +03:00
Cohee 5b7483af14 Add filename validation middleware to create endpoint 2025-06-01 01:11:26 +03:00
Cohee b7444a0fd2 Add filename validation middleware to upload endpoint
#4065
2025-06-01 01:09:53 +03:00
omahs d7d20a67fa Fix typos 2025-05-29 11:56:59 +02:00
Cohee b61269445d Merge pull request #4046 from InterestingDarknessII/vertexfull
Add Vertex AI Full Version support
2025-05-28 20:52:24 +03:00
Cohee 250bf5249a Remove unnecessary blank lines in chat-completions.js 2025-05-28 20:38:09 +03:00
InterestingDarkness 75e3f599e6 Derive Vertex AI Project ID from Service Account JSON
This commit refactors the Vertex AI integration to automatically derive the
Project ID from the provided Service Account JSON. This simplifies the
configuration process for users in "Full" (service account) authentication
mode by removing the need to specify the Project ID separately.
2025-05-28 21:57:17 +08:00
InterestingDarkness c9f90a2bd3 Update Gemini model options in Vertex AI section
- Removed outdated model options from the Gemini 2.0 optgroup in index.html.
- Added 'gemini-2.0-flash-preview-image-generation' to the image generation models in chat-completions.js for improved functionality.
2025-05-28 09:26:06 +08:00
Cohee b3077c4635 Use shared constant for default avatar path 2025-05-27 22:34:22 +03:00
buzz 4bec90abb5 Import character card from Soulkyn (#4042) 2025-05-27 22:30:15 +03:00
InterestingDarkness 1e2bec1751 Removed direct references to 'vertexai_project_id' from openai.js and related files, ensuring it is now managed through backend secrets for enhanced security. 2025-05-27 21:25:53 +08:00
InterestingDarkness a9d4988fc0 Remove vertexai_service_account_json from oai_settings. And google.js. 2025-05-27 08:59:13 +08:00
Cohee 2c7f2e2014 Pollinations: fix headers, add samplers 2025-05-26 23:18:51 +03:00
Cohee e2222ac40a Pollinations: fix headers, add samplers 2025-05-26 23:18:14 +03:00
InterestingDarkness 1c048a6c79 Refactor Google authentication functions for Vertex AI
- Exported `getVertexAIAuth`, `generateJWTToken`, and `getAccessToken` functions from google.js for better modularity.
- Removed redundant JWT token generation and access token retrieval logic from chat-completions.js, utilizing the newly exported functions instead.
- Improved code organization and maintainability by centralizing authentication logic.
2025-05-27 00:31:43 +08:00