Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

fix openai library

Abi Rajafddefb023c28
diff --git a/backend/poetry.lock b/backend/poetry.lock
index 413b288a..0f91dbca 100644
--- a/backend/poetry.lock
+++ b/backend/poetry.lock
@@ -1295,14 +1295,14 @@ files = [
[[package]]
name = "openai"
-version = "2.17.0"
+version = "2.16.0"
description = "The official Python library for the openai API"
optional = false
python-versions = ">=3.9"
groups = ["main"]
files = [
- {file = "openai-2.17.0-py3-none-any.whl", hash = "sha256:4f393fd886ca35e113aac7ff239bcd578b81d8f104f5aedc7d3693eb2af1d338"},
- {file = "openai-2.17.0.tar.gz", hash = "sha256:47224b74bd20f30c6b0a6a329505243cb2f26d5cf84d9f8d0825ff8b35e9c999"},
+ {file = "openai-2.16.0-py3-none-any.whl", hash = "sha256:5f46643a8f42899a84e80c38838135d7038e7718333ce61396994f887b09a59b"},
+ {file = "openai-2.16.0.tar.gz", hash = "sha256:42eaa22ca0d8ded4367a77374104d7a2feafee5bd60a107c3c11b5243a11cd12"},
]
[package.dependencies]
@@ -2605,4 +2605,4 @@ type = ["pytest-mypy"]
[metadata]
lock-version = "2.1"
python-versions = "^3.10"
-content-hash = "7c3ec51a87ae57a0f49c0fc0f575c7e904038055a378771a2f7c6943fdaef5e8"
+content-hash = "4127a92b3846243520232b1447f6555c234a9c4d9a471ed045bf5b52dc53268e"
diff --git a/backend/pyproject.toml b/backend/pyproject.toml
index 7e3a9dc6..7f3565b4 100644
--- a/backend/pyproject.toml
+++ b/backend/pyproject.toml
@@ -11,7 +11,7 @@ python = "^3.10"
fastapi = "^0.115.6"
uvicorn = "^0.25.0"
websockets = "^14.1"
-openai = "^2.16.0"
+openai = "2.16.0"
python-dotenv = "^1.0.0"
beautifulsoup4 = "^4.12.2"
httpx = "^0.28.1"