Skip to content

Commit 31ba8a2

Browse files
Mutugiiidogi
andauthored
chat: smoother api assistant mode providing (fixes #9924) (#9925)
Co-authored-by: dogi <dogi@users.noreply.github.com>
1 parent a404af0 commit 31ba8a2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "planet",
33
"license": "AGPL-3.0",
4-
"version": "0.22.72",
4+
"version": "0.22.73",
55
"myplanet": {
6-
"latest": "v0.54.54",
6+
"latest": "v0.54.91",
77
"min": "v0.52.45"
88
},
99
"scripts": {

src/app/chat/chat-window/chat-window.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export class ChatWindowComponent implements OnInit, OnDestroy, AfterViewInit {
258258

259259
submitPrompt() {
260260
const content = this.promptForm.controls.prompt.value;
261-
this.data = { ...this.data, content, aiProvider: this.provider };
261+
this.data = { ...this.data, content, aiProvider: this.provider, assistant: this.provider?.name === 'openai' };
262262

263263
this.chatService.setChatAIProvider(this.data.aiProvider);
264264
this.setSelectedConversation();

0 commit comments

Comments
 (0)