Skip to content

Conversation

@zeke
Copy link
Member

@zeke zeke commented Jan 22, 2024

This PR updates the replicate.stream() example usage in the README with a new snippet that:

  • works
  • logs events as they stream in
  • accumulates the final output and logs it when finished
  • shows how to set a webhook

Resolves #196

@zeke zeke requested a review from a team January 22, 2024 23:12
@zeke zeke force-pushed the improve-replicate.stream-example branch from 10ad9c2 to fa60bd1 Compare January 22, 2024 23:13
@mattt mattt merged commit cafb2a5 into main Jan 30, 2024
@mattt mattt deleted the improve-replicate.stream-example branch January 30, 2024 11:19
@mattt mattt mentioned this pull request Feb 16, 2024
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.

fix replicate.stream example

4 participants