Skip to content

Commit

Permalink
fix: comments
Browse files Browse the repository at this point in the history
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
  • Loading branch information
axel7083 committed Mar 19, 2024
1 parent bfc93e5 commit 35d70cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/frontend/src/pages/InferenceServerDetails.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const generate = async () => {
snippet = await studioClient.createSnippet(
{
url: `http://localhost:${service?.connection.port || '??'}`,
url: `http://localhost:${service?.connection.port || '??'}/v1/chat/completions`,
method: 'POST',
header: [
{
Expand Down Expand Up @@ -154,6 +154,7 @@ const generate = async () => {
id="variants"
bind:value="{selectedVariant}"
on:change="{generate}"
disabled="{variants.length === 1}"
class="border ml-1 text-sm rounded-lg focus:ring-purple-500 focus:border-purple-500 block p-1 bg-charcoal-900 border-charcoal-900 placeholder-gray-700 text-white"
name="variants">
{#each variants as variant}
Expand Down

0 comments on commit 35d70cb

Please sign in to comment.