Commit Graph
5943 Commits
Author SHA1 Message Date
Cohee 92e80d3bad hideMutedSprites is hilariously broken 2025-05-19 01:15:40 +03:00
Cohee d06789b8dc Check for chat changed before displaying welcome panel 2025-05-19 00:39:19 +03:00
Cohee 864a733663 "Bind preset to connection" toggle (#3999)
* Implement THE TOGGLE

* Don't force reconnect on preset switch if toggle off

* Don't clear custom models list either
2025-05-17 20:40:58 +03:00
Cohee 213a619b33 Change server ping to POST method
Closes #4006
2025-05-17 16:50:02 +03:00
Cohee 9438b5c4aa Cancel debounced metadata save before clearing chat 2025-05-17 15:44:51 +03:00
Cohee e52b3afea9 Wait for current chat to finish saving before allowing to switch 2025-05-17 08:45:12 +03:00
cloak1505andCohee f6ab33d835 Reverse CC prompt manager's injection order of "Order" to match World Info (#4004)
* Reverse CC injection "Order" to match World Info

* Set CC injection order default to 100

* Update non-PM injects order + add hint

* Update default order value on inject

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-05-16 23:53:37 +03:00
Cohee e9bc2d8af0 Force close forms on Prompt Manager init 2025-05-16 22:12:45 +03:00
Cohee 817474c60d Do no automatically apply non-markdown for context separators (#4003) 2025-05-16 19:57:56 +03:00
Cohee 7a23fe794e Hide buttons on welcome assistant message 2025-05-14 10:41:15 +03:00
Cohee 587cecb12c Join recent chat/group queries 2025-05-14 10:25:38 +03:00
Cohee 155172a2b4 Dynamically update show more title 2025-05-14 00:49:33 +03:00
Cohee dfbc5ec4ac Fix array slicing, decrease default recent display to 3 2025-05-14 00:42:04 +03:00
Cohee cb380863e2 Keep scroll up on welcome display 2025-05-14 00:25:35 +03:00
Cohee 49c1ee1373 Update avatar title format 2025-05-14 00:21:12 +03:00
Cohee 9744e6ab2f Button enlargement therapy 2025-05-14 00:15:33 +03:00
Cohee 21252cf2dd Fix empty chat if creating new assistant 2025-05-13 21:44:24 +03:00
Cohee 5a799042b1 Optimize fetching recent chats by using Promise.all for concurrent data retrieval 2025-05-13 20:41:26 +03:00
Cohee 2b93fd37e3 Focus on send textarea on opening temp chat 2025-05-13 20:28:57 +03:00
Cohee 6a394c0c3e Only render if chat is clear 2025-05-13 19:57:00 +03:00
Cohee 249cb7777c Merge branch 'staging' into welcome-screen 2025-05-13 19:52:40 +03:00
Cohee 6e35afa6ec Fix extension prompts injects 2025-05-13 10:04:43 +03:00
Cohee b261354280 Add "More" menu hint 2025-05-13 01:35:51 +03:00
Cohee 0c411398f0 Collapse welcome recent chats button 2025-05-13 01:27:45 +03:00
Cohee 7659dfb85c Remove reasoning from raw builder summaries 2025-05-13 00:59:27 +03:00
Cohee ae0aa42e7a Extract assignCharacterAsAssistant func 2025-05-13 00:54:40 +03:00
Cohee 28c09deb0d Force clean-up before welcome render 2025-05-13 00:46:24 +03:00
Cohee cd0a4959ad Merge branch 'staging' into welcome-screen 2025-05-13 00:41:54 +03:00
Cohee ad15e4f172 Merge pull request #3989 from bmen25124/prefill_custom_request
Added prefill for custom-request->text completion
2025-05-13 00:03:13 +03:00
Kristian SchlikowandCohee 8100a542e2 Implement a priority for prompt injections in CC (#3978)
* Implement a priority for prompt injections in CC

Adds a numeric order for injected prompts, 0 being default and placed at the top, and higher numbers placing further down. If two messages have the same priority, then order is determined by role as was before.

* Update data-i18n for new setting field

* Rename priority to order, sort higher first/lower last

* Hide order when position is relative, adjust hint text

* Fix type error

* Fix capitalization

* Cut UI texts

* Reposition text labels

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-05-12 23:59:54 +03:00
bmen25124 294dc3b3b1 Fixed out of index error 2025-05-12 23:00:12 +03:00
Cohee d6054e1555 Fix styles conflict with timelines 2025-05-12 22:40:00 +03:00
Cohee ed388553cc Add rotation effect to "Show More Chats" button and toggle visibility of hidden chats 2025-05-12 21:59:26 +03:00
bmen25124 6609c941a9 Added prefill for custom-request->text completion 2025-05-12 21:52:16 +03:00
Cohee e2c44161ed Show recent group chats 2025-05-12 21:44:00 +03:00
Cohee 637e9d5469 Set any char as assistant. Rework welcome prompt 2025-05-12 20:50:17 +03:00
Cohee f656fba213 Replace text with chevron 2025-05-12 20:18:37 +03:00
Cohee c45f1ceaff Show more recent chats 2025-05-12 20:16:56 +03:00
Cohee d5c56fa405 Indicate welcome page assistant in the list 2025-05-12 19:52:14 +03:00
Karl-Johan Alm 644b988b74 chat-templates: reorder by version and add missing template 2025-05-12 14:26:18 +09:00
Cohee 31e2cf714a Permanent assistant autocreation and temporary chat restore 2025-05-12 02:14:54 +03:00
Cohee 61f69aa674 Temp chat button works 2025-05-12 01:10:50 +03:00
Cohee 9be173e34e Fix long date title 2025-05-12 01:03:23 +03:00
Cohee 8d2c8fd675 Prevent reopening an already open recent chat 2025-05-12 00:53:33 +03:00
Cohee 415bb5f9b8 Add shortcuts to welcome prompt 2025-05-12 00:43:41 +03:00
Cohee e975d37436 [wip] Welcome screen prototype 2025-05-12 00:28:42 +03:00
Cohee 420d568cd3 Pollinations - Text (#3985)
* [wip] Pollinations for text

* Implement generate API request

* Determine Pollinations model tools via models list

* Add Pollinations option to /model command

* Add Pollinations support to caption

* Update link to pollinations site

* Fix type errors in openai.js

* Fix API connection test to use AbortController for request cancellation

* Remove hard coded list of pollinations vision models

* Remove openai-audio from captioning models
2025-05-11 20:14:11 +03:00
Cohee 09f2b2f731 Handle unknown chat completion sources gracefully by logging an error and returning an empty string 2025-05-11 11:09:15 +03:00
Cohee fc1020a8e4 Refactor sequence breaker parsing in getTextGenGenerationData function 2025-05-11 11:07:13 +03:00
50h100a 2aa5addb1d Mancer parameters:
- Add XTC
- Add DRY
- Remove Mirostat
2025-05-10 19:04:32 -04:00