Skip to content
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

Update Run method to support versionless models #85

Merged
merged 4 commits into from
Oct 3, 2024

Conversation

iznotek
Copy link
Contributor

@iznotek iznotek commented Sep 24, 2024

hye, It wasn't possible to call just "black-forest-labs/flux-schnell" model, official model wihtout version... now it is !

@mattt mattt changed the title modelonly run now possible Update Run method to support versionless models Sep 25, 2024
@mattt
Copy link
Contributor

mattt commented Oct 2, 2024

Hi @iznotek. Thank you so much for opening this PR. Really nice to have the Go library's Run method at parity with the other client libraries.

I made a few changes and added some test coverage, but this is otherwise looking great.

@iznotek
Copy link
Contributor Author

iznotek commented Oct 2, 2024

excellent !! thanks

@mattt mattt merged commit 6158992 into replicate:main Oct 3, 2024
1 check passed
@billinghamj
Copy link

billinghamj commented Oct 14, 2024

@mattt Is there a reason this same approach isn't supported for e.g. CreatePrediction? It's a little unclear/confusing when different methods work quite differently. You end up having to dive into the library's code to understand how it's working

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.

3 participants