Skip to content

Commit 99b3616

Browse files
committed
docs: quick fix to claude 4.5 sonnet example
1 parent 51d6fad commit 99b3616

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
@@ -96,7 +96,7 @@ import replicate
9696
claude = replicate.use("anthropic/claude-4.5-sonnet", streaming=True)
9797

9898
# Stream the output
99-
output = claude(prompt="Write a haiku about Python programming", max_tokens=50)
99+
output = claude(prompt="Write a haiku about Python programming")
100100

101101
for chunk in output:
102102
print(chunk, end="", flush=True)

0 commit comments

Comments
 (0)