Skip to content

Commit

Permalink
fix: remove useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
axel7083 committed Jan 30, 2024
1 parent a8098a6 commit 6014b8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions packages/frontend/src/pages/ModelPlayground.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ test('should display error alert', async () => {
id: 1,
modelId: 'model1',
prompt: 'what is 1+1?',
error: 'dummy error'
error: 'dummy error',
},
]);
render(ModelPlayground, {
Expand All @@ -167,6 +167,4 @@ test('should display error alert', async () => {
const alert = screen.getByRole('alert');
expect(alert).toBeDefined();
});

});

1 change: 0 additions & 1 deletion packages/frontend/src/pages/ModelPlayground.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@
placeholder="Type your prompt here"></textarea>

<div class="mt-4 text-right">
<span>inProgress: {inProgress}</span>
{#key playgroundState?.status}
<Button disabled={!isPromptable()} inProgress={inProgress} on:click={() => askPlayground()}>Send Request</Button>
{/key}
Expand Down

0 comments on commit 6014b8f

Please sign in to comment.