mirror of https://github.com/openclaw/openclaw.git
fix(ci): remove duplicate embedding default export
This commit is contained in:
parent
e61835ec5e
commit
f4227e2787
|
|
@ -22,8 +22,6 @@ const OPENAI_MAX_INPUT_TOKENS: Record<string, number> = {
|
|||
"text-embedding-ada-002": 8191,
|
||||
};
|
||||
|
||||
export const DEFAULT_OPENAI_EMBEDDING_MODEL = OPENAI_DEFAULT_EMBEDDING_MODEL;
|
||||
|
||||
export function normalizeOpenAiModel(model: string): string {
|
||||
return normalizeEmbeddingModelWithPrefixes({
|
||||
model,
|
||||
|
|
|
|||
Loading…
Reference in New Issue