Skip to content

Commit

Permalink
fix: correct max tokens setting title
Browse files Browse the repository at this point in the history
  • Loading branch information
henrycunh committed May 10, 2023
1 parent 0bf1794 commit 697830d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/go/input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export default {
<input
b-1 b-solid b-gray-300 focus:b-primary-500 transition p-2 ease-in-out
focus:placeholder:translate-x-1 placeholder:transition placeholder:ease-in-out
outline-none placeholder:text-coolgray-400 rounded-2
class="dark:b-white/10 dark:focus:b-primary-400 dark:focus:placeholder:text-coolgray-500"
outline-none placeholder:text-color placeholder:op-40 rounded-2
class="dark:b-white/10 dark:focus:b-primary-400"
bg-transparent text-color
:class="[
error && '!b-red-4',
Expand Down
3 changes: 2 additions & 1 deletion components/settings/max-tokens/input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ defineEmits(['update:modelValue'])
text-11px
sm:text-4 placeholder="Maximum tokens"
w-full
text-gray-5 dark:text-gray-1 @update:model-value="$emit('update:modelValue', $event)"
text-gray-5 dark:text-gray-1 type="number" min="0"
@update:model-value="$emit('update:modelValue', $event)"
/>
</div>
</template>

0 comments on commit 697830d

Please sign in to comment.