coze-dev / coze-dev/coze-studio

OPENAI_EMBEDDING_REQUEST_DIMS在当前main中已失效,.env示例中还在。

Open
#2,489 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

vllm启动的bge-m3不接收dimensions参数,导致coze配置后报错
code=105000004 message=SearchStore operation failed: store search store failed, err: [slices2Columns] embed failed, error, status code: 400, status: 400 Bad Request, message: %!s(), body: {"object":"error","message":"dimensions is currently not supported","type":"BadRequestError","param":null,"code":400}
检查env文件OPENAI_EMBEDDING_REQUEST_DIMS置空可不发送,经测试无效,检查最新的main代码,该配置未被使用。目前好像无法发送不带这个参数的请求。
正尝试测试release的版本

Contributor guide

Open the contributing guide

Research direction

Start by tracing OPENAI_EMBEDDING_REQUEST_DIMS through the current main embedding-request path; the issue reports that leaving it empty still sends dimensions to vLLM when running bge-m3. Reproduce the request with that configuration and compare it with the release version. Done means an empty setting omits dimensions and the embedding request no longer receives the reported 400 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai, backend-api-design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.