Skip to content

Commit 38c8e9d

Browse files
committed
Improve chat title generation
1 parent 64d5b5a commit 38c8e9d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- Improve chat title generation.
6+
57
## 0.73.0
68

79
- Add `:config-file` cli option to pass in config.

src/eca/features/chat.clj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,11 +564,13 @@
564564
(when-let [{:keys [result]} (llm-api/sync-prompt!
565565
{:provider provider
566566
:model model
567-
:model-capabilities model-capabilities
567+
:model-capabilities (assoc model-capabilities
568+
:reason? false
569+
:tools false
570+
:web-search false)
568571
:instructions (f.prompt/title-prompt)
569572
:user-messages user-messages
570573
:config config
571-
:tools []
572574
:provider-auth provider-auth})]
573575
(when result
574576
(let [title (subs result 0 (min (count result) 30))]

0 commit comments

Comments
 (0)