victor HF staff commited on
Commit
2c26a0b
1 Parent(s): f977d49

single conv

Browse files
src/lib/components/Playground/Playground.svelte CHANGED
@@ -44,13 +44,13 @@
44
  model: '01-ai/Yi-1.5-34B-Chat',
45
  config: { temperature: 0.5, maxTokens: 2048, streaming: true, jsonMode: false },
46
  messages: startMessages
47
- },
48
- {
49
- id: String(Math.random()),
50
- model: 'google/gemma-1.1-2b-it',
51
- config: { temperature: 0.1, maxTokens: 2048, streaming: true, jsonMode: false },
52
- messages: startMessages
53
  }
 
 
 
 
 
 
54
  ];
55
 
56
  let currentConversation = conversations[0];
@@ -191,11 +191,11 @@
191
  ? '*:w-1/2'
192
  : conversations.length == 3
193
  ? '*:w-1/3'
194
- : ''} dark:divide-gray-800"
195
  >
196
  {#each conversations as conversation}
197
  <div
198
- class="@container flex max-h-[calc(100dvh-5rem)] flex-col divide-y divide-gray-200 overflow-y-auto overflow-x-hidden dark:divide-gray-800"
199
  bind:this={messageContainer}
200
  >
201
  {#if conversations.length > 1}
 
44
  model: '01-ai/Yi-1.5-34B-Chat',
45
  config: { temperature: 0.5, maxTokens: 2048, streaming: true, jsonMode: false },
46
  messages: startMessages
 
 
 
 
 
 
47
  }
48
+ // {
49
+ // id: String(Math.random()),
50
+ // model: 'google/gemma-1.1-2b-it',
51
+ // config: { temperature: 0.1, maxTokens: 2048, streaming: true, jsonMode: false },
52
+ // messages: startMessages
53
+ // }
54
  ];
55
 
56
  let currentConversation = conversations[0];
 
191
  ? '*:w-1/2'
192
  : conversations.length == 3
193
  ? '*:w-1/3'
194
+ : '*:w-full'} dark:divide-gray-800"
195
  >
196
  {#each conversations as conversation}
197
  <div
198
+ class="flex max-h-[calc(100dvh-5rem)] flex-col divide-y divide-gray-200 overflow-y-auto overflow-x-hidden @container dark:divide-gray-800"
199
  bind:this={messageContainer}
200
  >
201
  {#if conversations.length > 1}