Skip to content

Commit b5e22bb

Browse files
committed
feat: chats in DB
test styles open/close slide to open schema close more chats delete & pin edit dialog sync rename chat checpoint new history images sidebar buttons feat: add system settings to generate chat title rls title font checkpoint checkpoint checkpoint checkpoint checkpoint checkpoint resizer
1 parent 0ed991e commit b5e22bb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+5606
-1322
lines changed

_build/gpm.yaml

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: modAI
2-
version: 0.13.1-pl
2+
version: 0.14.0-alpha9
33
lowCaseName: modai
44
namespace: modAI
55
author: 'John Peca'
@@ -98,7 +98,7 @@ systemSettings:
9898
- key: global.text.custom_options
9999
area: text
100100
type: textarea
101-
value:
101+
value: ''
102102
- key: global.text.stream
103103
area: text
104104
type: combo-boolean
@@ -114,7 +114,7 @@ systemSettings:
114114
- key: global.vision.custom_options
115115
area: vision
116116
type: textarea
117-
value:
117+
value: ''
118118
- key: global.vision.stream
119119
area: vision
120120
type: combo-boolean
@@ -128,19 +128,19 @@ systemSettings:
128128
value: openai/gpt-image-1
129129
- key: global.image.style
130130
area: image
131-
value:
131+
value: ''
132132
- key: global.image.response_format
133133
area: image
134-
value:
134+
value: ''
135135
- key: global.image.size
136136
area: image
137-
value: "1024x1024"
137+
value: '1024x1024'
138138
- key: global.image.quality
139139
area: image
140140
value: auto
141141
- key: global.image.path
142142
area: image
143-
value: "assets/ai/{resourceId}/{hash}.png"
143+
value: 'assets/ai/{resourceId}/{hash}.png'
144144
- key: global.image.media_source
145145
area: image
146146
type: modx-combo-source
@@ -210,7 +210,25 @@ systemSettings:
210210
area: chat
211211
type: textarea
212212
value: ''
213-
213+
- key: chat.title.generate
214+
area: chat
215+
type: combo-boolean
216+
value: 1
217+
- key: chat.title.model
218+
area: chat
219+
value: openai/gpt-4o-mini
220+
- key: chat.title.prompt
221+
area: chat
222+
type: textarea
223+
value: |-
224+
- You are a helpful assistant that generates short, catchy, and relevant titles for user prompts.
225+
- Each title must be 32 characters or fewer.
226+
- Avoid punctuation unless it’s necessary.
227+
- Be concise, clear, and avoid generic phrases.
228+
- key: chat.title.model_options
229+
area: chat
230+
type: textarea
231+
value: '{"max_tokens": 16, "temperature": 0.7}'
214232
build:
215233
readme: core/components/modai/docs/README.md
216234
changelog: core/components/modai/docs/CHANGELOG.md
@@ -230,3 +248,5 @@ database:
230248
- "modAI\\Model\\AgentContextProvider"
231249
- "modAI\\Model\\PromptLibraryCategory"
232250
- "modAI\\Model\\PromptLibraryPrompt"
251+
- "modAI\\Model\\Chat"
252+
- "modAI\\Model\\Message"

0 commit comments

Comments
 (0)