Skip to content

Commit d31fc70

Browse files
committed
docs: fix streaming docs in readme
1 parent 79b69bd commit d31fc70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ import replicate
119119

120120
claude = replicate.use("anthropic/claude-4.5-sonnet", streaming=True)
121121

122-
for event in claude(input={"prompt": "Please write a haiku about streaming Python."}):
122+
for event in claude(prompt="Write a haiku about streaming output."):
123123
print(str(event), end="")
124124
```
125125

0 commit comments

Comments
 (0)