-
- Downloads
[FEAT] Slash templates (#1314)
* WIP slash presets
* WIP slash command customization CRUD + validations complete
* backend slash command support
* fix permission setting on new slash commands
rework form submit and pattern on frontend
* Add field updates for hooks,
required=true to field
add user<>command constraint to keep them unique
enforce uniquness via teritary uid field on table for multi and non-multi user
* reset migration
---------
Co-authored-by:
timothycarambat <rambat1010@gmail.com>
Showing
- frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/AddPresetModal.jsx 111 additions, 0 deletions...PromptInput/SlashCommands/SlashPresets/AddPresetModal.jsx
- frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/EditPresetModal.jsx 148 additions, 0 deletions...romptInput/SlashCommands/SlashPresets/EditPresetModal.jsx
- frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/index.jsx 127 additions, 0 deletions...ontainer/PromptInput/SlashCommands/SlashPresets/index.jsx
- frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx 3 additions, 1 deletion...aceChat/ChatContainer/PromptInput/SlashCommands/index.jsx
- frontend/src/models/system.js 68 additions, 0 deletionsfrontend/src/models/system.js
- server/endpoints/system.js 106 additions, 0 deletionsserver/endpoints/system.js
- server/models/slashCommandsPresets.js 105 additions, 0 deletionsserver/models/slashCommandsPresets.js
- server/prisma/migrations/20240510032311_init/migration.sql 15 additions, 0 deletionsserver/prisma/migrations/20240510032311_init/migration.sql
- server/prisma/schema.prisma 15 additions, 0 deletionsserver/prisma/schema.prisma
- server/utils/chats/index.js 20 additions, 6 deletionsserver/utils/chats/index.js
- server/utils/chats/stream.js 4 additions, 4 deletionsserver/utils/chats/stream.js
Loading
Please register or sign in to comment