From d10a55ed5beb95f0fbcc825661643e6ee31ed34e Mon Sep 17 00:00:00 2001 From: Vivek Kalyan Date: Wed, 7 Jan 2026 17:40:33 +0800 Subject: [PATCH] fix: Bump minimum openai version to 2.14.0 The `ChatCompletionMessageFunctionToolCall` type used in `src/art/openai.py` was introduced in openai 1.99.2. Without this constraint, users may get openai 1.99.1 or earlier which lacks this module, causing an ImportError on import. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1fb44181e..46643f098 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ description = "The OpenPipe Agent Reinforcement Training (ART) library" readme = "README.md" requires-python = ">=3.11" dependencies = [ - "openai>=1.65.5", + "openai>=2.14.0", "typer>=0.15.2", "litellm==1.74.1", "weave>=0.51.51",