Commit Graph
1479 Commits
Author SHA1 Message Date
Cohee df4700914c Remove debug log 2025-03-19 23:33:15 +02:00
Cohee 60e4993a89 Refactor cache entry removal to use Set for removalQueue 2025-03-19 23:32:37 +02:00
Cohee 587c528f6d Implement cache entry removal queue in diskCache 2025-03-19 23:31:30 +02:00
Cohee 9c7d3d7400 Add cache validation func to startup 2025-03-19 23:03:39 +02:00
Cohee 0e2290dacf Enable disk cache by default 2025-03-19 22:45:26 +02:00
Cohee 1a2c54ce39 Disable TTL on disk cache 2025-03-19 22:40:49 +02:00
Cohee 694df8ca55 Merge branch 'staging' into disk-cache 2025-03-19 22:40:11 +02:00
Cohee 297a767746 Merge branch 'staging' into or-prompt-post-processing 2025-03-19 22:07:35 +02:00
Murad "Gness Erquint" Beybalaev 6872ad9489 More pointless lint. 2025-03-19 21:26:43 +03:00
Murad "Gness Erquint" Beybalaev 5a2311b806 Linter's gonna lint… 2025-03-19 21:24:08 +03:00
Gness Erquint cc54158f09 Use Node.js path parser to extract the stem in the chats search. 2025-03-19 21:17:42 +03:00
Cohee 9b76b6dd3c Merge branch 'staging' into or-prompt-post-processing 2025-03-19 19:32:55 +02:00
Cohee d3e62fe56c Fix lint 2025-03-19 19:31:09 +02:00
Murad "Gness Erquint" Beybalaev a3c57fb05f Correct the chat search comment. 2025-03-19 20:27:35 +03:00
Gness Erquint bbdd98a155 Prepend title to chat messages array before concatenating the string. 2025-03-19 19:40:28 +03:00
Murad "Gness Erquint" Beybalaev d48ebdb0d4 Join searched messages by linebreak to avoid searching for implicit whitespace. 2025-03-19 18:38:05 +03:00
Gness Erquint 35fa634f1d Chat titles are now included in the search. Query terms don't have to occur in the same message anymore. 2025-03-19 06:13:54 +03:00
Cohee fcaea46a54 Apply post-process before setting cache at depth 2025-03-18 23:17:26 +02:00
Cohee 46d5f79fd9 OpenRouter: Allow applying prompt post-processing
Fixes #3689
2025-03-18 21:33:11 +02:00
Cohee 1122c675e5 Merge pull request #3715 from GhostXia/staging
change 01ai endpoint
2025-03-18 19:02:04 +02:00
GhostXia eb52872b13 change 01ai endpoint 2025-03-18 17:19:22 +08:00
Cohee c92ca8dbfb Merge branch 'staging' into integrity 2025-03-18 01:51:07 +02:00
Cohee fa641e9946 Handle empty files in readFirstLine 2025-03-16 22:16:53 +02:00
Cohee 5145e30be3 Don't bail early if empty token provided from UI 2025-03-16 21:45:07 +02:00
Cohee 5ab284f1f5 Merge branch 'staging' into integrity 2025-03-16 21:28:37 +02:00
Cohee 62342b35e2 Reasoning template 2025-03-16 15:01:31 +02:00
Succubyss fff1dd59c3 minor 4.5 detection tweak 2025-03-15 19:27:42 -05:00
Cohee 400d29e97e Add chat integrity check to saveChat 2025-03-16 02:24:20 +02:00
Cohee 684ee98168 Add config, increase cache TTL, use async file reads 2025-03-15 19:43:26 +02:00
Cohee b8f8be8cf9 Merge branch 'staging' into disk-cache 2025-03-15 19:27:56 +02:00
Cohee 0c7d5c76e2 gemini-2.0-flash-exp-image-generation 2025-03-15 14:58:06 +02:00
Cohee f607c3bc0d Gemma 3 (#3686)
* Gemma 3

* Adjust safetySettings

* Disable sysprompt

* Add isGemma check to tool processing logic

* Disable a google search tool for gemma
2025-03-14 21:41:28 +02:00
Cohee 0017358f8b Gemini inline images (#3681)
* 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
2025-03-14 20:15:04 +02:00
bmen25124 a77f4045f8 Added command-a-03-2025 and command-a tokenizer 2025-03-13 21:16:08 +03:00
Cohee 67d013e40a Use default middleware for parsing request body 2025-03-10 00:48:58 +02:00
Cohee 3c65b2dcf3 Implement disk caching for character data using node-persist 2025-03-09 20:41:04 +02:00
Cohee b52b11d7bb Force settings content check on user creation
Closes #3641
2025-03-09 00:56:23 +02:00
Cohee 1cb9287684 Vectors WebLLM (#3631)
* Add WebLLM support for vectorization

* Load models when WebLLM extension installed

* Consistency updated

* Move checkWebLlm to initEngine

* Refactor vector request handling to use getAdditionalArgs

* Add error handling for unsupported WebLLM extension

* Add prefix to error causes
2025-03-09 00:51:44 +02:00
Cohee 7e3946c152 Add tools parameter to AI21 request 2025-03-08 22:26:32 +02:00
Cohee edabd1128b Add tags in toShallow
Closes #3638
2025-03-08 22:04:49 +02:00
Cohee ff5835278b Add Jamba 1.6 models
Closes #3633
2025-03-08 15:16:49 +02:00
Cohee 1a52314812 MistalAI: Add custom stop strings
Closes #3627
2025-03-07 11:29:14 +00:00
Cohee 381956652b Remove tools assignment 2025-03-07 00:22:45 +02:00
Cohee 7fd0f3e2bf Merge branch 'staging' into geminiStructured 2025-03-07 00:22:18 +02:00
Cohee fa699956e6 Fix functionResponse part merging 2025-03-07 00:09:11 +02:00
Cohee c9277cec28 Gemini: Add tool calling 2025-03-06 23:52:35 +02:00
Cohee e9cf606c70 Add backend-provided websearch connectors for OpenRouter and Gemini 2025-03-06 22:23:35 +02:00
Cohee 8161690ce6 Merge branch 'staging' into char-shallow 2025-03-06 20:55:22 +02:00
Cohee 02a8c8c460 Fix server crash if request was aborted during out of quota retry 2025-03-06 20:54:10 +02:00
Seth Hoong 8565df13e4 Merge pull request #3618 from annoawesome/electron
Add support for Electron
2025-03-06 19:43:06 +02:00