Skip to content

Code Index has no limit on batch size #7702

@A0nameless0man

Description

@A0nameless0man

App Version

Version: 3.26.7 (1d70f95)

API Provider

OpenAI Compatible

Model Used

qwen3-embedding text-embedding-v4

Roo Code Task Links (Optional)

Qwne3-Embedding model has batch size limit,request input can have at most 10 string in it

https://bailian.console.aliyun.com/console?tab=doc#/doc/?type=model&url=2842587

🔁 Steps to Reproduce

just index some code base with more than 10 chunk with aliyun bailian

💥 Outcome Summary

got Indexing failed: 尝试 3 次后批次处理失败:尝试 3 次后创建嵌入失败:HTTP 400 - 400 <400> InternalError.Algo.InvalidParameter: Value error, batch size is invalid, it should not be larger than 10.: input.contents

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions