diff --git a/README.md b/README.md index 568a0753..501e6f8e 100644 --- a/README.md +++ b/README.md @@ -347,7 +347,7 @@ client.async().chat().completions().createStreaming(params) .subscribe(chunk -> { System.out.println(chunk); }) - .onCompleteFuture(); + .onCompleteFuture() .whenComplete((unused, error) -> { if (error != null) { System.out.println("Something went wrong!");