No supporting for workflow version switch
- Dominant language
- Python
- Stars
- 492
- Forks
- 122
- PR merge metrics
- No merged PRs in 30d
Description
stream = coze.workflows.runs.stream(
workflow_id=workflow_id,
parameters={...},
workflow_version = "v0.0.18"
)
When I run code like this, the terminal tells me that TypeError: WorkflowsRunsClient.stream() got an unexpected keyword argument 'workflow_version'
But in the official document [](https://www.coze.cn/open/playground/workflow_stream_run), it shows that workflow_version can be a parameter, I wonder whether it's a bug or?
Contributor guide
Research direction
Start at the WorkflowsRunsClient.stream entry point and compare its accepted parameters with the workflow_stream_run documentation linked in the issue. Verify the expected workflow_version behavior and add coverage so the call no longer raises an unexpected-keyword TypeError and matches the documented interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100