feat: add parameter "reasoning_effort" and Openai o3-mini (#13243)

This commit is contained in:
k-zaku 2025-02-06 10:29:48 +09:00 • committed by GitHub
commit 7203991032
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 64 additions and 11 deletions

11
api/poetry.lock generated
View file

@ -6562,15 +6562,15 @@ sympy = "*"
[[package]]
name = "openai"
version = "1.52.2"
version = "1.61.0"
description = "The official Python library for the openai API"
optional = false
python-versions = ">=3.7.1"
python-versions = ">=3.8"
groups = ["main"]
markers = "python_version == \"3.11\" or python_version >= \"3.12\""
files = [
{file = "openai-1.52.2-py3-none-any.whl", hash = "sha256:57e9e37bc407f39bb6ec3a27d7e8fb9728b2779936daa1fcf95df17d3edfaccc"},
{file = "openai-1.52.2.tar.gz", hash = "sha256:87b7d0f69d85f5641678d414b7ee3082363647a5c66a462ed7f3ccb59582da0d"},
{file = "openai-1.61.0-py3-none-any.whl", hash = "sha256:e8c512c0743accbdbe77f3429a1490d862f8352045de8dc81969301eb4a4f666"},
{file = "openai-1.61.0.tar.gz", hash = "sha256:216f325a24ed8578e929b0f1b3fb2052165f3b04b0461818adaa51aa29c71f8a"},
]
[package.dependencies]
@ -6585,6 +6585,7 @@ typing-extensions = ">=4.11,<5"
[package.extras]
datalib = ["numpy (>=1)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)"]
realtime = ["websockets (>=13,<15)"]
[[package]]
name = "opencensus"
@ -12429,4 +12430,4 @@ cffi = ["cffi (>=1.11)"]
[metadata]
lock-version = "2.1"
python-versions = ">=3.11,<3.13"
content-hash = "14896fb8a4495238d70515986341128d0096ba130c3acce127a29a903a59a811"
content-hash = "786f04736264fce986f53ea41aa0f5b94e18df807a9aad0aa621cc0ac7078065"