Skip to content

Commit

Permalink
Remove role edition
Browse files Browse the repository at this point in the history
  • Loading branch information
AI-Maria committed Feb 29, 2024
1 parent 636553a commit f1997f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
16 changes: 0 additions & 16 deletions src/lib/Settings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -127,22 +127,6 @@
bind:value={apiTextField}
/>
</div>
<div class="mb-0">
<label for="api-key" class="block font-medium mb-1"
>Default Assistant role</label
>
<input
class="border text-black border-gray-300 p-2 rounded w-full"
bind:value={assistantRoleField}
/>
<select
bind:value={assistantRoleTypeField}
class="max-w-[86px] text-black bg-white my-2 p-2 rounded focus:outline-none focus:bg-white"
>
<option value="system">System</option>
<option value="user">User</option>
</select>
</div>
<div>
<label for="model" class="block font-medium mb-1">Chosen model</label>
<select
Expand Down
7 changes: 0 additions & 7 deletions src/lib/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ You are a therapist. ETC...`;
{conv.conversationTokens.toFixed(0)}
</p>
</button>
{#if $chosenConversationId === $conversations.length - i - 1}
<textarea
bind:value={$conversations[$chosenConversationId].assistantRole}
{placeholder}
class="bg-primary px-2 pt-1 mb-2 pb-3 resize-none ronded-t-none rounded-b-md focus:outline-none focus:outline-primary"
/>
{/if}
{/each}
<!-- TUTO KONCI PRIKLAD -->
</div>
Expand Down

0 comments on commit f1997f8

Please sign in to comment.