victor HF staff commited on
Commit
e7afcb4
·
1 Parent(s): 43e3121

feat: extract namespace from conversation.model.id

Browse files
src/lib/components/InferencePlayground/InferencePlaygroundConversationHeader.svelte CHANGED
@@ -40,6 +40,8 @@
40
  goto(url.toString(), { replaceState: true });
41
  }
42
  }
 
 
43
  </script>
44
 
45
  {#if modelSelectorOpen}
 
40
  goto(url.toString(), { replaceState: true });
41
  }
42
  }
43
+
44
+ $: [nameSpace] = conversation.model.id.split("/");
45
  </script>
46
 
47
  {#if modelSelectorOpen}