fix(docs): Fix several typos and grammar (#33487)

Just typo changes

Co-authored-by: Mason Daugherty <mason@langchain.dev>
This commit is contained in:
Chenyang Li
2025-10-14 20:04:14 -04:00
committed by GitHub
parent 68ceeb64f6
commit 6e25e185f6
8 changed files with 11 additions and 11 deletions

View File

@@ -116,7 +116,7 @@ def test_chat_openai_streaming_generation_info() -> None:
chat = _get_llm(max_tokens=2, temperature=0, callbacks=callback_manager)
list(chat.stream("hi"))
generation = callback.saved_things["generation"]
# `Hello!` is two tokens, assert that that is what is returned
# `Hello!` is two tokens, assert that is what is returned
assert generation.generations[0][0].text == "Hello!"

View File

@@ -141,7 +141,7 @@ def test_chat_openai_streaming_generation_info() -> None:
chat = ChatOpenAI(max_tokens=2, temperature=0, callbacks=callback_manager) # type: ignore[call-arg]
list(chat.stream("hi"))
generation = callback.saved_things["generation"]
# `Hello!` is two tokens, assert that that is what is returned
# `Hello!` is two tokens, assert that is what is returned
assert generation.generations[0][0].text == "Hello!"