Added support for Riverflow-2-5#308
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. To trigger a review, include ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches✨ Simplify code
Comment |
There was a problem hiding this comment.
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
IInputFontforinputs.fonts[]and wires it intoIInputswith dict-to-dataclass coercion. - Introduces
IScoringRubric/IScoringRubricScoreGuidanceforsettings.scoringRubric[](including nested coercion). - Extends
ISettingswithbackgroundMode,enhancePrompt,scoringPrompt, andscoringRubric.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Added
IInputFontdataclass forinputs.fonts[]:url: Optional[str]text: Optional[str]IInputsnow includes:fonts: Optional[List[Union[IInputFont, Dict[str, Any]]]]IScoringRubricdataclass forsettings.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)ISettingsnow includes:enhancePrompt: Optional[bool]backgroundMode: Optional[str]scoringPrompt: Optional[str]scoringRubric: Optional[List[Union[IScoringRubric, Dict[str, Any]]]]