lobechat向量化失败

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 聊天是正常的,
我想请教各位老友,能不能帮我分析一下问题出在哪里 :tieba_016:
lobechat和new-api都是最新版

更换了硅基流动的bge-m3,现在没问题了

老哥,你也是本地部署的吗?

咋配置的,在.env中配置不行 :clown_face:

DEFAULT_FILES_CONFIG=embedding_model=openai/bge-m3
我是使用了new-api,所以这么配置,你根据自己的需要进行修改就行了,

硅基的用不了嘛
SILICONCLOUD_API_KEY=xxx
SILICONCLOUD_PROXY_URL=https://api.siliconflow.cn/v1/
DEFAULT_FILES_CONFIG=“embedding_model=siliconcloud/BAAI/bge-m3”

不清楚这是不是bug,我之前使用github时也是401

有使用BAAI/bge-reranker-v2-m3 这款嘛?我的会报错400 。使用BAAI/bge-m3倒是正常,但是需要用到重排序的模型