mirror of
https://github.com/Mintplex-Labs/vector-admin.git
synced 2026-07-15 09:15:44 -04:00
linting
This commit is contained in:
+2514
File diff suppressed because it is too large
Load Diff
@@ -150,8 +150,9 @@ const EditEmbeddingConfirmation = memo(
|
||||
<div className="flex w-full items-center justify-between px-4">
|
||||
<p className="font-semibold text-red-600">{error || ''}</p>
|
||||
<p
|
||||
className={`text-sm ${error ? 'font-semibold text-red-600' : 'text-slate-600'
|
||||
}`}
|
||||
className={`text-sm ${
|
||||
error ? 'font-semibold text-red-600' : 'text-slate-600'
|
||||
}`}
|
||||
>
|
||||
{numberWithCommas(tokenLength)}/
|
||||
{numberWithCommas(MAX_TOKENS.cl100k_base)}{' '}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Tiktoken } from "@dqbd/tiktoken/lite";
|
||||
import cl100k_base from "@dqbd/tiktoken/encoders/cl100k_base.json";
|
||||
import { Tiktoken } from '@dqbd/tiktoken/lite';
|
||||
import cl100k_base from '@dqbd/tiktoken/encoders/cl100k_base.json';
|
||||
|
||||
type IValidEmbeddingModels = 'cl100k_base';
|
||||
export const MAX_TOKENS = {
|
||||
|
||||
+2836
File diff suppressed because it is too large
Load Diff
+1717
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user