Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400报错 #4198

Open
3 tasks done
qzl24 opened this issue Feb 17, 2025 · 0 comments
Open
3 tasks done

400报错 #4198

qzl24 opened this issue Feb 17, 2025 · 0 comments
Assignees
Labels
area:chat Relates to chat interface kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@qzl24
Copy link

qzl24 commented Feb 17, 2025

Before submitting your bug report

Relevant environment info

- OS:
- Continue version:
- IDE version:
- Model:
- config.json:

Description

不论输入多长的文本都会报错
HTTP 400 Bad Request from https://api.siliconflow.cn/v1/chat/completions {"code":20015,"message":"length of prompt_tokens (51353) must be less than max_seq_len (32768).","data":null}

To reproduce

不论输入多长的文本都会报错
HTTP 400 Bad Request from https://api.siliconflow.cn/v1/chat/completions {"code":20015,"message":"length of prompt_tokens (51353) must be less than max_seq_len (32768).","data":null}

Log output

不论输入多长的文本都会报错
HTTP 400 Bad Request from https://api.siliconflow.cn/v1/chat/completions {"code":20015,"message":"length of prompt_tokens (51353) must be less than max_seq_len (32768).","data":null}
@dosubot dosubot bot added area:chat Relates to chat interface kind:bug Indicates an unexpected problem or unintended behavior labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:chat Relates to chat interface kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants