Added support for taskType training#286
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
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Comment |
There was a problem hiding this comment.
Pull request overview
Adds client-side support for the new training task type, wiring it into the SDK’s request/response typing and polling/normalization flow.
Changes:
- Adds
ETaskType.TRAININGplus new training request/response dataclasses inrunware/types.py. - Adds
RunwareBase.training()and training request building / initial-response handling inrunware/base.py. - Extends task normalization and polling logic to recognize
trainingresponses.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
runware/types.py |
Introduces TRAINING task type and training request/response dataclasses. |
runware/base.py |
Implements training request execution + integrates training into polling and task-details normalization. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Added
training.