Skip to content

Commit 08a86b5

Browse files
committed
Bump openai minimum version to >=2.21.0 to fix memory leak
Resolves a memory leak in structured outputs parse methods when using Pydantic with runtime generics (openai/openai-python#2860). https://claude.ai/code/session_01Pxc3jHuwJGHxkGehMgQGcP
1 parent 0bcbcec commit 08a86b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies = [
1919
"langchain-aws>=0.2.33",
2020
"neo4j>=5.28.2",
2121
"nltk>=3.9.1",
22-
"openai>=1.104.2",
22+
"openai>=2.21.0",
2323
"pgvector>=0.4.1",
2424
"prometheus-client>=0.22.1",
2525
"pydantic>=2.11.7",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies = [
2828
"langchain-aws>=0.2.33",
2929
"neo4j>=5.28.2",
3030
"nltk>=3.9.1",
31-
"openai>=1.104.2",
31+
"openai>=2.21.0",
3232
"pgvector>=0.4.1",
3333
"prometheus-client>=0.22.1",
3434
"pydantic>=2.11.7",

0 commit comments

Comments
 (0)