Skip to content

Commit 2435b95

Browse files
authored
Show the assistant model name in the chat input (#1006)
1 parent a59f531 commit 2435b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/chat/ChatWindow.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
</span>
368368
{/if}
369369
{:else}
370-
{@const model = models.find((m) => m.id === currentModel.id)}
370+
{@const model = models.find((m) => m.id === assistant?.modelId)}
371371
{#if model}
372372
<a
373373
href="{base}/settings/assistants/{assistant._id}"

0 commit comments

Comments
 (0)