Skip to content

Commit

Permalink
feat(client): add streaming helpers for prompt caching
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie authored and stainless-app[bot] committed Aug 14, 2024
1 parent 9cb2421 commit 8336494
Show file tree
Hide file tree
Showing 4 changed files with 580 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/anthropic/lib/streaming/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@
MessageStreamManager as MessageStreamManager,
AsyncMessageStreamManager as AsyncMessageStreamManager,
)
from ._prompt_caching_beta_messages import (
PromptCachingBetaMessageStream as PromptCachingBetaMessageStream,
AsyncPromptCachingBetaMessageStream as AsyncPromptCachingBetaMessageStream,
PromptCachingBetaMessageStreamManager as PromptCachingBetaMessageStreamManager,
AsyncPromptCachingBetaMessageStreamManager as AsyncPromptCachingBetaMessageStreamManager,
)
Loading

0 comments on commit 8336494

Please sign in to comment.