Skip to content

fix(predictions): sync subscribe() overloads with all supported models#14

Merged
relferreira merged 1 commit into
nextfrom
renan/update-sdk
May 18, 2026
Merged

fix(predictions): sync subscribe() overloads with all supported models#14
relferreira merged 1 commit into
nextfrom
renan/update-sdk

Conversation

@relferreira
Copy link
Copy Markdown
Collaborator

Summary

  • Add tryon-max, image-to-video, and edit overloads to subscribe() (both sync and async) — these were already supported by run() but missing from subscribe()
  • Remove model-variation, which no longer exists in the API (verified against the OpenAPI spec)

Test plan

  • Verify client.predictions.subscribe(model_name="tryon-max", ...) type-checks correctly
  • Verify client.predictions.subscribe(model_name="image-to-video", ...) type-checks correctly
  • Verify client.predictions.subscribe(model_name="edit", ...) type-checks correctly
  • Verify model-variation no longer appears as a valid option in IDE autocomplete

- Add tryon-max, image-to-video, and edit overloads to subscribe() (sync and async)
- Remove model-variation, which no longer exists in the API
@relferreira relferreira merged commit 4bc2493 into next May 18, 2026
6 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.

1 participant