From 5bfcb898ad00ee5a09fd98cfdf3c2d311686c1a6 Mon Sep 17 00:00:00 2001 From: ccurme Date: Thu, 27 Jun 2024 11:57:24 -0400 Subject: [PATCH] openai[patch]: bump sdk version (#23592) Tests failing with `TypeError: Completions.create() got an unexpected keyword argument 'parallel_tool_calls'` --- libs/partners/openai/poetry.lock | 12 ++++++------ libs/partners/openai/pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libs/partners/openai/poetry.lock b/libs/partners/openai/poetry.lock index 37246caa17038..6a3004c38afd5 100644 --- a/libs/partners/openai/poetry.lock +++ b/libs/partners/openai/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "annotated-types" @@ -385,7 +385,7 @@ files = [ [[package]] name = "langchain-core" -version = "0.2.9" +version = "0.2.10" description = "Building applications with LLMs through composability" optional = false python-versions = ">=3.8.1,<4.0" @@ -586,13 +586,13 @@ files = [ [[package]] name = "openai" -version = "1.29.0" +version = "1.35.6" description = "The official Python library for the openai API" optional = false python-versions = ">=3.7.1" files = [ - {file = "openai-1.29.0-py3-none-any.whl", hash = "sha256:c61cd12376c84362d406341f9e2f9a9d6b81c082b133b44484dc0f43954496b1"}, - {file = "openai-1.29.0.tar.gz", hash = "sha256:d5a769f485610cff8bae14343fa45a8b1d346be3d541fa5b28ccd040dbc8baf8"}, + {file = "openai-1.35.6-py3-none-any.whl", hash = "sha256:c2bfa599445a2d6010adc7954476c2dc64e1aa8dad02ef29e0f31b9a887c1d02"}, + {file = "openai-1.35.6.tar.gz", hash = "sha256:c5958617048a2d777d2b96050fd69ae6721bdffbf59967698694223cc092abd9"}, ] [package.dependencies] @@ -1400,4 +1400,4 @@ watchmedo = ["PyYAML (>=3.10)"] [metadata] lock-version = "2.0" python-versions = ">=3.8.1,<4.0" -content-hash = "979fe68dc87d220765c4f31867d1b51aaddf147ed571d4eb30bc39fc51d774d2" +content-hash = "abce67a9e29b0a4c6fb7c22efb8fb4b1248cb692ec85d74fdb650f50f714b241" diff --git a/libs/partners/openai/pyproject.toml b/libs/partners/openai/pyproject.toml index 2c8adfbec1dbd..5fa8c416473c6 100644 --- a/libs/partners/openai/pyproject.toml +++ b/libs/partners/openai/pyproject.toml @@ -13,7 +13,7 @@ license = "MIT" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" langchain-core = ">=0.2.2,<0.3" -openai = "^1.26.0" +openai = "^1.32.0" tiktoken = ">=0.7,<1" [tool.poetry.group.test]