Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: support workflow version #144

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

Open
ARadish wants to merge 1 commit into coze-dev:main
base: main
Choose a base branch
Loading
from ARadish:main
Open

Conversation

@ARadish
Copy link

@ARadish ARadish commented Jan 28, 2026

Copy link

CLAassistant commented Jan 28, 2026
edited
Loading

CLA assistant check
All committers have signed the CLA.

Copy link

coderabbitai bot commented Jan 28, 2026
edited
Loading

📝 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

Reviewers

Copilot code review Copilot Copilot left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /