Skip to content

Added support for Riverflow-2-5#308

Merged
Sirsho1997 merged 1 commit into
mainfrom
feature-riverflow-2-5
Jun 8, 2026
Merged

Added support for Riverflow-2-5#308
Sirsho1997 merged 1 commit into
mainfrom
feature-riverflow-2-5

Conversation

@Sirsho1997

Copy link
Copy Markdown
Collaborator

Added

  • IInputFont dataclass for inputs.fonts[]:
    • url: Optional[str]
    • text: Optional[str]
  • IInputs now includes:
    • fonts: Optional[List[Union[IInputFont, Dict[str, Any]]]]
  • IScoringRubric dataclass for settings.scoringRubric[]:
    • key: Optional[str]
    • label: Optional[str]
    • description: Optional[str]
    • weight: Optional[float]
    • passingScore: Optional[float]
    • scoreGuidance: Optional[List[Union[IScoringRubricScoreGuidance, Dict[str, Any]]]]
  • IScoringRubricScoreGuidance (score, description)
  • ISettings now includes:
    • enhancePrompt: Optional[bool]
    • backgroundMode: Optional[str]
    • scoringPrompt: Optional[str]
    • scoringRubric: Optional[List[Union[IScoringRubric, Dict[str, Any]]]]

@coderabbitai

coderabbitai Bot commented Jun 5, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. To trigger a review, include review in the PR description. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d6aab9e1-db56-47f2-8ab1-415724d26075

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch feature-riverflow-2-5

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds new request/response typing support in runware.types for Riverflow-2-5-related features, extending the SDK’s dataclass-based schema so callers can provide new inputs and settings fields while preserving existing serialization behavior.

Changes:

  • Introduces IInputFont for inputs.fonts[] and wires it into IInputs with dict-to-dataclass coercion.
  • Introduces IScoringRubric / IScoringRubricScoreGuidance for settings.scoringRubric[] (including nested coercion).
  • Extends ISettings with backgroundMode, enhancePrompt, scoringPrompt, and scoringRubric.

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

Comment thread runware/types.py
Comment thread runware/types.py
@Sirsho1997 Sirsho1997 merged commit 0fc4283 into main Jun 8, 2026
2 checks passed
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