lobechat向量化报错:
embeddingChunks error {
message: '{"endpoint":"https://api.s****m.com/v1","error":{"message":"The chatCompletion operation does not work with the specified model, text-embedding-3-small. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993. (request id: 20250222173122310279320dGwEOvZk)","type":"","param":"","code":"OperationNotSupported"},"errorType":"ProviderBizError","provider":"openai"}',
name: 'EmbeddingError'
}
这个报错源于我接入的new-api,new-api中集成了github和azure的
text-embedding-3-small ,两个模型都会爆出上面的错误信息。
然后我又在lobechat上单独加入了github的token配置,切换了参数为:
DEFAULT_FILES_CONFIG=embedding_model=github/text-embedding-3-small
这时向量化失败,报错401,但是使用github的 4o 聊天是正常的,
我想请教各位老友,能不能帮我分析一下问题出在哪里 ![]()
lobechat和new-api都是最新版

