MAX-TAB and Cohee
f9d1279a69
fix: Slash command descriptions and argument help text are not translated ( #4434 )
...
* fix: Slash command descriptions and argument help text are not translated #4428
* fix
* fix: Refine slash command translation scope per review
* fix
* Join split multiline strings
* Revert error name
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-08-26 20:25:52 +03:00
TensorNull and Cohee
41c74fd142
Add CometAPI as a model provider in "Chat Completion" ( #4402 )
...
* feat: Add support for CometAPI, including API key management and model selection features.
* Some code fixes
* Fix loading model from presets
* Add logo image
* Enable tool calling, reasoning effort, reasoning display, structured generation
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-08-22 20:30:42 +03:00
Cohee
1856237202
/gen: Don't look for quiet names if argument is not provided
2025-08-15 22:30:22 +03:00
Cohee
bfba070f56
/gen: "name" actually work in groups?
...
Fixes #4377
2025-08-15 22:21:16 +03:00
Cohee
8ae915517d
Sort /api enum list alphabetically
2025-08-15 22:07:35 +03:00
ershang-fireworks and Cohee
e9be0f1c64
Add Fireworks AI Provider Support ( #4374 )
...
* add fireworks provider
* fix
* add context length
* Fireworks fixes
* Add logo image
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-08-14 20:52:46 +03:00
Cohee
fb058816e8
Add trim argument to /gen and /sysgen. Closes #4361
2025-08-10 15:14:45 +03:00
Cohee
0e38bfbf05
Feat/moonshot api ( #4330 )
...
* moonshot
* Partial mode + JSON schema
* Add logo image
* Limit max temp to 1
* Add to captioning extension
2025-07-31 00:01:04 +03:00
Cohee
086f873f2f
Deprecate 01.ai chat completion source ( #4327 )
2025-07-28 21:29:01 +03:00
Cohee
7429726eb1
Remove Window AI from CC sources ( #4294 )
2025-07-22 19:45:54 +03:00
Cohee
d9f4028952
CC/PM: Add generation type trigger prompt filter ( #4281 )
...
* CC/PM: Add generation type trigger prompt filter
Closes #4276
* Fix element cast type
* Narrower element types
* Change trigger to multiple select
* Extract class scope function
* Fix control name
* Add 'enabled' property to Prompt class and update type annotations in PromptManager methods
* Clarify placeholder of multiselect
2025-07-17 21:27:26 +03:00
Cohee
1a92157643
Refactor generateRaw/generateQuietPrompt calls ( #4277 )
...
* generateQuietPrompt: Update to object arguments
* generateRaw: Update to object arguments
* Fix jsdoc
* Fix lint
* Unwrap JSON schema options
* Remove default args from gen call
2025-07-15 23:11:31 +03:00
556fb4ba08
adding prefill parameter to generateRaw() ( #4266 )
...
* adding prefill parameter to generateRaw()
* additional comments
* Substitute params in prefill
* Add prefill prompt for /genraw command
* Fix param comment
* fixing generateRaw param comment
* fixing param comment
---------
Co-authored-by: qvink <qvink@users.noreply.github.com >
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-07-14 20:51:53 +03:00
Cohee
febb02ffcb
/inject: auto-generate ID and fix argument description ( #4253 )
...
* /inject: auto-generate ID and fix argument description
* Fix default depth and role handling
* Return ID of the new inject
2025-07-11 13:25:29 +03:00
Cohee
f477ed1d74
Move CHAT_CHANGED injects revive listener to initDefaultSlashCommands
2025-07-10 00:11:00 +03:00
Cohee and Copilot
28189bb1c7
Move default slash commands to respective module ( #4240 )
...
* Move default slash commands to respective module
* Update public/scripts/slash-commands.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-06 17:17:19 +03:00
Cohee and Copilot
e0469b4808
Move Kobold Classic settings into related module ( #4234 )
...
* Move Kobold Classic settings into related module
* Update public/scripts/kai-settings.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-05 21:00:06 +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
c0f2a62b33
Merge pull request #4149 from Culpeo/release
...
Added new slash command member-count
2025-06-12 19:24:17 +03:00
Cohee
b226081469
Allow getting group count during generation
2025-06-12 19:23:28 +03:00
Culpeo
9cfb913b3d
Added new slash command member-count
2025-06-12 16:36:23 +02:00
Cohee
6e58f08f3c
Use CSS variable monospace font for slash commands in send textarea
2025-06-09 23:37:25 +03:00
Cohee
14212fb761
Fix type errors
2025-06-09 23:35:10 +03:00
Cohee
13b3f61e82
slash-commands.js: update for new popup
2025-06-03 00:16:00 +03:00
RossAscends and Cohee
fa10833e52
add minimum requirement of 2 [A-za-z] for slashcommand autocomplete to show up ( #4080 )
...
* add minimum requirement of 2 [A-za-z] for slashcommand autocomplete to show up
* Migrate to dedicated AC toggle
* Replace state checkbox with select
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-06-01 20:07:33 +03:00
Cohee
4c3bb1aede
PPP command and connection profiles ( #4079 )
...
* Add PPP command
* Add PPP to connection profiles
2025-06-01 18:15:06 +03:00
Cohee
36dfbd4cbe
Add rawQuotes to override with named arg ( #4032 )
2025-05-24 00:35:58 +03:00
NijikaMyWaifu and Cohee
157315cd68
Add Vertex AI express mode support ( #3977 )
...
* Add Vertex AI express mode support
Split Google AI Studio and Vertex AI
* Add support for Vertex AI, including updating default models and related settings, modifying frontend HTML to include Vertex AI options, and adjusting request processing logic in the backend API.
* Log API name in the console
* Merge sysprompt toggles back
* Use Gemma tokenizers for Vertex and LearnLM
* AI Studio parity updates
* Add link to express mode doc. Also technically it's not a form
* Split title
* Use array includes
* Add support for Google Vertex AI in image captioning feature
* Specify caption API name, add to compression list
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-05-22 20:10:53 +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
6625e4036e
Add clipboard script commands
...
Closes #3958
2025-05-05 21:58:06 +03:00
Cal
c677f0324a
Add argument to command
2025-05-01 15:16:51 -06:00
Cohee
6aeced98a6
Prefer const. I love const
2025-04-29 21:22:51 +03:00
Crow
6cb1eb3fe6
Change return to empty string on no single match
2025-04-29 15:21:45 +01:00
Crow
0cd0ce2374
Fix example formatting on /replace
2025-04-29 06:38:30 +01:00
Crow
5ddc8f17a0
Fix pattern checking on /replace
2025-04-29 06:37:48 +01:00
Crow
1c40ea10f4
Format examples correctly
2025-04-29 06:37:08 +01:00
Crow
729830c2fc
Validate pattern
2025-04-29 06:19:59 +01:00
Crow
d5002863e0
Add both test and match regex commands
...
These commands match the behavior of the javascript `Regex.test()`
and `String.match()` / `String.matchAll()` functions.
2025-04-28 11:13:48 +01:00
Cohee
870abe0776
Code clean-up
2025-04-22 22:36:01 +03:00
awaae001
b39b7998ce
refactor(slash-commands): 优化消息定位和滚动效果
2025-04-23 01:34:29 +08:00
awaae001
59ebf2e5b8
refactor(slash-commands): 重命名 goto-floor 命令为 chat-jump
...
- 将命令名称从 'goto-floor' 修改为 'chat-jump',以更好地反映其功能
2025-04-23 01:12:57 +08:00
awaae001
ee11f021eb
refactor(slash-commands): 优化 /goto-floor 命令并添加高亮功能
...
- 重新组织消息加载和滚动逻辑,提高命令成功率
- 添加消息元素高亮功能,使用 flashHighlight 或临时 CSS 类
2025-04-23 01:04:52 +08:00
awaae001
ceeaeea123
feat(slash-commands): 优化 /goto-floor 命令并加载所有消息
...
- 在执行 /goto-floor 命令前加载所有消息,确保目标元素存在
- 添加加载消息的步骤,解决因懒加载导致的元素找不到问题
2025-04-23 00:45:05 +08:00
awaae001
6d0318eb36
refactor(slash-commands): 优化 /goto-floor 命令的代码格式和注释
...
- 修正 EDLint 标记错误
2025-04-23 00:05:35 +08:00
awaae001
485d07b91f
feat(slash-commands): 添加 /goto-floor 命令并实现消息高亮
...
- 新增 /goto-floor 命令,允许用户滚动到指定的消息索引
- 实现消息高亮功能,滚动到指定消息后进行突出显示
- 添加相关的 CSS 样式,确保高亮效果在不同浏览器中兼容
2025-04-22 23:51:40 +08:00
Cohee
1c52099ed6
Add xAI as chat completion source
2025-04-10 22:59:10 +03:00
Cohee
533aeffa36
Add opt-in for rawQuotes in SlashCommand registration
...
Closes #2739
Supersedes #2921
2025-03-27 23:22:38 +02:00
equal-l2
2a31f6af2d
Remove Block Entropy references
...
Block Entropy shut down their service at the end of 2024.
2025-03-28 00:47:30 +09:00
InspectorCaracal
6bb91dd0df
fix group chid data attr
2025-03-22 23:41:29 -06:00
Wolfsblvt
40f2eae3f3
Make it return empty array on cancel
2025-03-19 22:46:11 +01:00