victor HF Staff commited on
Commit
52e36d3
·
1 Parent(s): aa9a52b

Update model link and add provider SVGs

Browse files
src/lib/components/chat/ChatMessage.svelte CHANGED
@@ -198,8 +198,7 @@
198
  <span class="text-gray-500">with</span>
199
  {#if publicConfig.isHuggingChat}
200
  <a
201
- href="https://huggingface.co/{message.routerMetadata.model}"
202
- target="_blank"
203
  class="rounded bg-gray-100 px-1.5 py-0.5 font-mono hover:text-gray-500 dark:bg-gray-800 dark:hover:text-gray-300"
204
  >
205
  {message.routerMetadata.model.split("/").pop()}
 
198
  <span class="text-gray-500">with</span>
199
  {#if publicConfig.isHuggingChat}
200
  <a
201
+ href="/chat/settings/{message.routerMetadata.model}"
 
202
  class="rounded bg-gray-100 px-1.5 py-0.5 font-mono hover:text-gray-500 dark:bg-gray-800 dark:hover:text-gray-300"
203
  >
204
  {message.routerMetadata.model.split("/").pop()}
static/huggingchat/providers/publicai.svg ADDED
static/huggingchat/providers/scaleway.svg ADDED
static/huggingchat/providers/zai-org.svg ADDED