Skip to content

Conversation

@ARadish
Copy link

@ARadish ARadish commented Jan 28, 2026

@CLAassistant
Copy link

CLAassistant commented Jan 28, 2026

CLA assistant check
All committers have signed the CLA.

@coderabbitai
Copy link

coderabbitai bot commented Jan 28, 2026

📝 Walkthrough

Walkthrough

Added a new workflowVersion field to the RunWorkflowReq class to enable specification of workflow versions when executing resource library workflows, with defaults to the latest version when absent.

Changes

Cohort / File(s) Summary
Workflow Request Enhancement
api/src/main/java/com/coze/openapi/client/workflows/run/RunWorkflowReq.java
Added workflowVersion String field with @JsonProperty("workflow_version") annotation to support version specification for resource library workflows

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested labels

feature

Poem

🐰 A version field hops into the fray,
Workflows now choose their own way,
Latest by default, or pick what's old—
Resource libraries now more controlled! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat: support workflow version' directly and clearly summarizes the main change: adding support for a workflow_version parameter to the RunWorkflowReq class.
Description check ✅ Passed The description references the workflow_version parameter and links to the relevant developer documentation, providing context for the change despite being minimal.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for specifying a workflow version when running workflows, allowing users to execute specific versions of resource library workflows.

Changes:

  • Added workflowVersion field to RunWorkflowReq class to support version-specific workflow execution

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants