Commit Graph

131 Commits

Author SHA1 Message Date
68f967ea78 Add Claude tokenizer 2023-06-26 13:36:56 +03:00
e78abf9269 #557 Only add user name to chat completion name if it was sent as another persona in the same chat. 2023-06-23 23:05:41 +03:00
1672824416 Spec v2: {{original}} macro for prompt overrides. 2023-06-22 23:24:22 +03:00
df4586811d Don't query OpenAI status if it's not a currently selected API on load 2023-06-21 12:50:43 +03:00
4a29072e1c Import / export chat completion presets 2023-06-20 23:53:52 +03:00
fda152cef0 Placeholders for import/export chat completion preset 2023-06-20 22:41:15 +03:00
ec05937dd4 #540 Save streaming flag to Chat Completion preset 2023-06-20 18:58:09 +03:00
b85605cac8 Don't auto-select chat.comp preset if it's already selected 2023-06-17 20:28:02 +03:00
e91cbe009f Correctly clamp max_context value on saving a chat completion preset 2023-06-15 18:32:56 +03:00
183bf442d4 Add Turbo 16k to Window AI 2023-06-13 23:10:59 +03:00
356e85fedd Add new OpenAI models 2023-06-13 22:33:35 +03:00
6207bdb671 Fix presets not respecting Claude source selection 2023-06-13 00:47:18 +03:00
98092222fd Add preset setting to avoid sending empty messages 2023-06-11 11:49:32 -03:00
46c1fde423 Get appropriate tokenizer for WAI and handle streaming rejection properly 2023-06-10 18:41:02 +03:00
ccefee6cee Restore WAI model on load 2023-06-10 18:18:23 +03:00
d292f6ee87 Add Window AI model settings 2023-06-10 18:16:13 +03:00
acee302b09 Wrap Chat Completion buttons 2023-06-10 17:02:40 +03:00
51919cff5d Add Test API connection button 2023-06-10 16:35:22 +03:00
f894176e14 Add Top K and Top P for Claude 2023-06-10 16:21:45 +03:00
c4a2809849 Fix Window AI settings 2023-06-09 02:23:10 +03:00
2ca5f43bc6 Fix mixing Claude models with OpenAI 2023-06-09 02:20:04 +03:00
b8084eac65 Add per-character override of JB prompts. 2023-06-08 23:12:58 +03:00
6f83128bd6 Dynamic toggling of chat completion forms 2023-06-08 13:55:05 +03:00
62674707eb Dynamically hide incompatible chat completion elements depending on selected API 2023-06-08 13:38:04 +03:00
6ac4e2db0b Fix generation when group contains a deleted character 2023-06-08 02:00:51 +03:00
0642abbfe5 Add per-character system prompt overrides 2023-06-08 01:47:24 +03:00
e8ef60ff47 Claude disclaimer 2023-06-07 13:48:15 +03:00
821273630b Restore Claude model on load 2023-06-07 11:15:15 +03:00
7cff1a92fa Clamp Claude's max temp when using Window AI 2023-06-07 10:53:24 +03:00
a1b130fc9a Streaming for Claude. 2023-06-06 20:18:28 +03:00
e205323482 Clamp Claude's max temperature. 2023-06-06 19:43:59 +03:00
960bc32340 [RAW / UNTESTED / NO STREAMING] Native Claude API supported 2023-06-06 19:16:46 +03:00
5df7d2d1dc Fix /sys and /sendas attribution when converting to groups. Fix context line with /sys with OpenAI 2023-06-01 11:18:19 +03:00
da30b69471 Fix unlocked context breaking OAI tokenizer 2023-05-28 13:42:30 +03:00
5a7daedfca Stop button fix for window.ai. Refactor the generation function 2023-05-28 02:33:34 +03:00
8ab1b68c52 Add WI prompt format 2023-05-28 00:01:35 +03:00
158fdfb140 Add NSFW avoidance prompt to UI 2023-05-27 22:12:19 +03:00
be64b3469f Properly fallback when w.ai model doesn't support streaming 2023-05-27 21:42:28 +03:00
a415deb8fa Unlock context size of OAI 2023-05-27 20:45:22 +03:00
0ab097711b Fix window.ai streaming 2023-05-27 19:50:08 +03:00
53d6c58b15 Support Window.ai extension 2023-05-27 17:37:25 +03:00
8cce0d0ce7 Merge branch 'main' into dev 2023-05-21 14:32:19 +03:00
6fa4c2c1c8 Make openai credit error a catch all 2023-05-21 14:16:30 +05:30
91315b4a74 Merge branch 'main' into dev 2023-05-21 01:37:34 +03:00
f0c7c96d3c Added switch to unbrick streaming on some unsupported proxies 2023-05-21 01:36:35 +03:00
299b9a04bc Replace info popups with toasts 2023-05-20 23:59:39 +03:00
df0734aac4 #336 Slash commands / bias adjustments 2023-05-19 23:05:22 +03:00
ab5e555d62 Add reverse proxy to presets. #345 #109
Remove token breakdown from OAI options (it's now globally active).
2023-05-19 18:31:59 +03:00
b626417a73 Merge branch 'main' into dev 2023-05-19 12:14:11 +03:00
7e59745dfc buffers partial SSE messages from Readable 2023-05-19 03:20:27 -05:00