langchain-ai
langchain
BlogDocsChangelog

feat(openai): add callable support for openai_api_key parameter

#33532
Comparing
marlenezw:openai_apikey_callable
(
f13e521
) with
master
(
a47386f
)
CodSpeed Performance Gauge
-19%
Regressions
4
Untouched
2
Skipped
28

Benchmarks

Skipped (28)

Failed

test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_base_standard.py::TestOpenAIStandard
Regression
CodSpeed Performance Gauge
-12%
10.6 ms*12 ms
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_base_standard.py::TestOpenAIStandard
Regression
CodSpeed Performance Gauge
-19%
937.4 ms*1,151.6 ms
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_responses_standard.py::TestOpenAIResponses
Regression
CodSpeed Performance Gauge
-12%
10.7 ms*12 ms
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIStandard
Regression
CodSpeed Performance Gauge
-19%
937.1 ms*1,150.9 ms

Passed

test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_azure_standard.py::TestOpenAIStandard
CodSpeed Performance Gauge
0%
1.7 s*1.7 s
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIResponses
CodSpeed Performance Gauge
-5%
812.8 ms*857.7 ms

Commits

Click on a commit to change the comparison range
Base
master
a47386f
-0.15%
Merge branch 'master' into openai_apikey_callable
05d977f
5 days ago
by marlenezw
-0.93%
Merge branch 'langchain-ai:master' into openai_apikey_callable
e50e250
4 days ago
by marlenezw
+0.04%
Merge branch 'master' into openai_apikey_callable
b309f01
4 days ago
by marlenezw
-17.4%
dont call callable until required
542f769
20 hours ago
by marlenezw
+0.14%
Merge branch 'master' into openai_apikey_callable
8faebfc
20 hours ago
by marlenezw
-0.08%
updating code to try make more performant
24d9e1e
19 hours ago
by marlenezw
+0.13%
reverting to explicit checking of callable type
1c6ee62
19 hours ago
by marlenezw
-0.06%
minimize changes
109a7e7
19 hours ago
by ccurme
-0.29%
start on async support
f13e521
17 hours ago
by ccurme
© 2025 CodSpeed Technology
Home Terms Privacy Docs