Show the assistant model name in the chat input (#1006)
Browse files
src/lib/components/chat/ChatWindow.svelte
CHANGED
@@ -367,7 +367,7 @@
|
|
367 |
</span>
|
368 |
{/if}
|
369 |
{:else}
|
370 |
-
{@const model = models.find((m) => m.id ===
|
371 |
{#if model}
|
372 |
<a
|
373 |
href="{base}/settings/assistants/{assistant._id}"
|
|
|
367 |
</span>
|
368 |
{/if}
|
369 |
{:else}
|
370 |
+
{@const model = models.find((m) => m.id === assistant?.modelId)}
|
371 |
{#if model}
|
372 |
<a
|
373 |
href="{base}/settings/assistants/{assistant._id}"
|