diff --git a/libs/sdk-js/README.md b/libs/sdk-js/README.md index bf93d16f9..b39b38983 100644 --- a/libs/sdk-js/README.md +++ b/libs/sdk-js/README.md @@ -32,7 +32,7 @@ const agent = assistants[0]; const thread = await client.threads.create(); // Start a streaming run -const messages = [{ role: "human", content: "whats the weather in la" }]; +const messages = [{ role: "human", content: "what's the weather in la" }]; const streamResponse = client.runs.stream( thread["thread_id"], diff --git a/libs/sdk-py/README.md b/libs/sdk-py/README.md index 597644fd7..74f121f68 100644 --- a/libs/sdk-py/README.md +++ b/libs/sdk-py/README.md @@ -29,7 +29,7 @@ agent = assistants[0] thread = await client.threads.create() # Start a streaming run -input = {"messages": [{"role": "human", "content": "whats the weather in la"}]} +input = {"messages": [{"role": "human", "content": "what's the weather in la"}]} async for chunk in client.runs.stream(thread['thread_id'], agent['assistant_id'], input=input): print(chunk) ``` \ No newline at end of file