Skip to content

Commit

Permalink
Merge branch 'master' into 25154-add-docstring-linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rawathemant246 authored Jan 19, 2025
2 parents fc4e08d + c20f741 commit 5e2c169
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions libs/partners/openai/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions libs/partners/openai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "langchain-openai"
version = "0.3.0"
version = "0.3.1"
description = "An integration package connecting OpenAI and LangChain"
authors = []
readme = "README.md"
Expand All @@ -23,7 +23,7 @@ ignore_missing_imports = true

[tool.poetry.dependencies]
python = ">=3.9,<4.0"
langchain-core = "^0.3.29"
langchain-core = "^0.3.30"
openai = "^1.58.1"
tiktoken = ">=0.7,<1"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def test_openai_streaming_callback() -> None:
verbose=True,
)
llm.invoke("Write me a sentence with 100 words.")
assert callback_handler.llm_streams == 11
assert callback_handler.llm_streams == 12


@pytest.mark.scheduled
Expand All @@ -171,5 +171,5 @@ async def test_openai_async_streaming_callback() -> None:
verbose=True,
)
result = await llm.agenerate(["Write me a sentence with 100 words."])
assert callback_handler.llm_streams == 11
assert callback_handler.llm_streams == 12
assert isinstance(result, LLMResult)

0 comments on commit 5e2c169

Please sign in to comment.