Commit Graph

3845 Commits

Author SHA1 Message Date
valadaptive 29f509179c Remove getMessageId
As far as I can tell, we don't add/remove anything from chat in between
the calculation of newMessageId and subsequent calls to getMessageId.
We can just use newMessageId everywhere.
2024-01-27 13:50:54 -05:00
valadaptive e475081116 Fix off-by-one in addOneMessage 2024-01-27 13:48:08 -05:00
valadaptive 7f955a59b9 Remove count_view_mes 2024-01-27 13:24:08 -05:00
valadaptive 4bd7364a8e Change macro substitution order 2024-01-27 13:22:22 -05:00
valadaptive 71f47588cd Pass macro variables in to evaluateMacros
This doesn't cover *all* the variables yet, just the ones that were
previously passed in as arguments. I'll expand this later to separate
the macro parsing from the execution of the functions themselves.
2024-01-27 13:20:44 -05:00
based ee7ee9f60a merged mistral proxy support 2024-01-27 06:26:23 +10:00
based aa976d0de2 implemented proxy preset manager 2024-01-27 06:21:00 +10:00
LenAnderson 2cdf928fc7 unescape args before calling callback 2024-01-26 18:58:44 +00:00
Cohee 4d534e3042 [BUG] Incorrect context size for gpt-4-turbo-0125 #1748 2024-01-26 18:51:20 +02:00
Cohee a3e3185220 Prettyprint exported character JSONs 2024-01-26 18:46:32 +02:00
Cohee cb32e28b82 Allow multiple stop strings for TogetherAI 2024-01-26 17:40:20 +02:00
Cohee 354a6b76c7
Merge pull request #1749 from AlpinDale/patch-2 2024-01-26 11:04:58 +02:00
AlpinDale 8af3939f09
fix: logprobs for Aphrodite
Since Aphrodite follows the same logprobs style as ooba, we can enable it easily.
2024-01-26 07:15:39 +00:00
Cohee 3cf01e765a #1741 Filter non-unique chunks 2024-01-26 04:18:15 +02:00
Cohee 1647e5ae49
Merge pull request #1734 from khanonnie/alternative-tokens
Implement Token Probabilities UI panel using logprobs
2024-01-26 03:39:25 +02:00
khanon 60044c18a4 Implement Token Probabilities UI using logprobs 2024-01-25 18:34:46 -06:00
Cohee 0f8b8734ca
Merge pull request #1747 from lucyknada/staging
[feat] GENERATION_ENDED event
2024-01-26 01:59:45 +02:00
lucy 1ef437f5f1
[feat] GENERATION_ENDED event
uses hideStopButton() to trigger the event, because all other paths are conditional and would require the event to be triggered in multiple functions, compared to hideStopButton() already being called at the end of all the generations

unblockGeneration() was another candidate, but it is not consistently executed to be viable
2024-01-26 00:53:27 +01:00
Cohee 5185752662
Merge pull request #1746 from Makosful/release
Iterate over textChunks to find character data
2024-01-26 01:22:09 +02:00
Cohee 19c3b3016c Handle edge case when no chara chunk 2024-01-26 01:14:12 +02:00
Vornir Jotunn 84a21fba27 fix: Iterate textChunks to find character data 2024-01-25 21:01:09 +01:00
Cohee 40476dca3b New OAI models 2024-01-25 22:01:02 +02:00
Cohee aa1d2a7260 Fix promisify warning 2024-01-25 21:37:42 +02:00
Cohee 515e3859ec
Merge pull request #1689 from h-a-s-k/staging
Group chat fixes
2024-01-25 20:51:55 +02:00
Cohee 6012ee5f89 #1740 Open most recent chat when deleting current chat file 2024-01-25 18:55:38 +02:00
Cohee 4abe87f103 #1742 Add /chat-manager command 2024-01-25 18:19:04 +02:00
Cohee 6ff998816d #1728 Missed one 2024-01-25 03:28:30 +02:00
Cohee 1ae5a8bd66 #1630 Fix display mode regex depth calc 2024-01-25 02:53:39 +02:00
Cohee 422b41fcfa Revert custom CSS layout 2024-01-25 01:57:03 +02:00
Cohee e627e89722
Merge pull request #1726 from Technologicat/tooltips-vol1
add/improve tooltips
2024-01-24 22:50:02 +02:00
Cohee 3f3529ef89 #1630 Add min/max depth for prompt/display regex scripts. 2024-01-24 22:48:58 +02:00
Cohee 55984a59bb #1728 Allow zeros in {{pipe}} macro 2024-01-24 21:19:29 +02:00
Cohee e537def312 Add return value to /sd command and quiet flag 2024-01-24 20:15:10 +02:00
Cohee 4985afd816 Extend external media checks 2024-01-24 19:14:40 +02:00
Cohee 9f81ea3c1f Allow double quotes inside of <tags> 2024-01-24 18:05:11 +02:00
Juha Jeronen 0683d7a538 Merge branch 'staging' into tooltips-vol1 2024-01-24 17:05:09 +02:00
Cohee 532c86b051
Merge pull request #1737 from Technologicat/vectordb-with-extras
Initial support for Extras vectorizer, for Vector Storage
2024-01-24 17:01:54 +02:00
Cohee 0ad756c923 Add check for "embeddings" module. 2024-01-24 16:51:57 +02:00
Juha Jeronen 62170afd03 fix presentation 2024-01-24 16:14:42 +02:00
Cohee b4e7ee05e6 Remove regex replace strategy selector 2024-01-24 16:10:50 +02:00
Juha Jeronen 6c8eff0544 Meh once more - use the name suggested in the review. 2024-01-24 16:08:38 +02:00
Juha Jeronen bf3470411d Meh, once more. Maybe better this way? 2024-01-24 16:04:29 +02:00
Juha Jeronen 915c238510 fix it correctly... 2024-01-24 16:03:04 +02:00
Juha Jeronen 91a688ee7f oops, bug 2024-01-24 16:02:51 +02:00
Juha Jeronen 71344720d2 fix as per review 2024-01-24 16:02:08 +02:00
Juha Jeronen 0a07161cf8 support batch mode for Extras backend too 2024-01-24 15:48:14 +02:00
Juha Jeronen a1c7e2918b Merge branch 'staging' into vectordb-with-extras 2024-01-24 15:48:01 +02:00
Cohee 4823bcf4ff Add option to forbid external images 2024-01-24 15:47:54 +02:00
Juha Jeronen 8b43535352 Initial support for Extras vectorizer, for Vector Storage 2024-01-24 15:16:55 +02:00
NWilson f29f934c6b Progress 2024-01-24 06:59:27 -06:00