Encountering an error while adding a custom model to Volcano Engine #43

Closed
opened 2026-02-16 10:17:51 -05:00 by yindo · 3 comments
Owner

Originally created by @GentleLemon on GitHub (Mar 6, 2025).

Error code: 400 - {'error': {'code': 'InvalidParameter', 'message': 'A parameter specified in the request is not valid: stream Request id: 021741250062204ff303ac16ece080358e099ce5c58d82c1a20d7', 'param': 'stream', 'type': 'BadRequest'}}, request_id: 20250306083421VBNl8caZLkE1dVFO8VLE

The code for a normal invocation is as follows:
Using Volcano Engine with deepseek https://www.volcengine.com/docs/82379/1449737
'''
client = OpenAI(
api_key=os.environ.get("ARK_API_KEY"),
base_url="https://ark.cn-beijing.volces.com/api/v3/bots",
)
'''
The model is: "model": "bot-20250305144014-sj24r".

Image

Originally created by @GentleLemon on GitHub (Mar 6, 2025). Error code: 400 - {'error': {'code': 'InvalidParameter', 'message': 'A parameter specified in the request is not valid: stream Request id: 021741250062204ff303ac16ece080358e099ce5c58d82c1a20d7', 'param': 'stream', 'type': 'BadRequest'}}, request_id: 20250306083421VBNl8caZLkE1dVFO8VLE The code for a normal invocation is as follows: Using Volcano Engine with deepseek https://www.volcengine.com/docs/82379/1449737 ''' client = OpenAI( api_key=os.environ.get("ARK_API_KEY"), base_url="https://ark.cn-beijing.volces.com/api/v3/bots", ) ''' The model is: "model": "bot-20250305144014-sj24r". ![Image](https://github.com/user-attachments/assets/fdb77d17-ae51-4186-a6d4-f55ea24ab364)
yindo added the bug label 2026-02-16 10:17:51 -05:00
yindo closed this issue 2026-02-16 10:17:51 -05:00
Author
Owner

@ppttfish commented on GitHub (Mar 6, 2025):

same error. - -

@ppttfish commented on GitHub (Mar 6, 2025): same error. - -
Author
Owner

@ZhangHuan95 commented on GitHub (Apr 8, 2025):

same!!!
please fix it.

@ZhangHuan95 commented on GitHub (Apr 8, 2025): same!!! please fix it.
Author
Owner

@dosubot[bot] commented on GitHub (Aug 18, 2025):

Hi, @GentleLemon. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported a 400 "InvalidParameter" error related to the 'stream' parameter when adding a custom model to Volcano Engine via the OpenAI client.
  • Other users have confirmed experiencing the same issue, indicating it affects multiple users.
  • The root cause seems to be incorrect request parameters sent to the Volcano Engine API.
  • No fix or workaround has been provided so far.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here.
  • If I don’t hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 18, 2025): Hi, @GentleLemon. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported a 400 "InvalidParameter" error related to the 'stream' parameter when adding a custom model to Volcano Engine via the OpenAI client. - Other users have confirmed experiencing the same issue, indicating it affects multiple users. - The root cause seems to be incorrect request parameters sent to the Volcano Engine API. - No fix or workaround has been provided so far. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here. - If I don’t hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#43