File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 33## Unreleased
44
55- Support "accept and remember" tool call per session and name.
6+ - Avoid generating huge chat titles.
67
78## 0.62.1
89
Original file line number Diff line number Diff line change 467467 :config config
468468 :tools []
469469 :provider-auth provider-auth})]
470- (swap! db* assoc-in [:chats chat-id :title ] title)
471- (send-content! chat-ctx :system (assoc-some
472- {:type :metadata }
473- :title title)))))
470+ (let [title (-> title
471+ (subs 0 32 )
472+ string/capitalize)]
473+ (swap! db* assoc-in [:chats chat-id :title ] title)
474+ (send-content! chat-ctx :system (assoc-some
475+ {:type :metadata }
476+ :title title))))))
474477 (send-content! chat-ctx :system {:type :progress
475478 :state :running
476479 :text " Waiting model" })
You can’t perform that action at this time.
0 commit comments