update model settings multi lang.

This commit is contained in:
duanfuxiang
2025-06-12 15:19:07 +08:00
parent b20b4f9e19
commit 6501132d80
7 changed files with 63 additions and 22 deletions

View File

@@ -56,7 +56,6 @@ export const getEmbeddingModel = (
}
},
getBatchEmbeddings: async (texts: string[]) => {
console.log("use getBatchEmbeddings", texts.length)
try {
if (!openai.apiKey) {
throw new LLMAPIKeyNotSetException(