diff --git a/README.md b/README.md index a434d101..4c2abca5 100644 --- a/README.md +++ b/README.md @@ -262,7 +262,7 @@ OpenAiChatCompletionParameters request = .setMessages(List.of(new OpenAiChatUserMessage().addText(msg))); OpenAiClient client = OpenAiClient.forModel(GPT_35_TURBO); -// Do the request before the thread to easily return errors +// Do the request before the thread to easily throw errors Stream stream = client.streamChatCompletion(request); ThreadContextExecutors.getExecutor().execute(() -> {