Avatar for the langchain-ai user
langchain-ai
langchain
BlogDocsChangelog

fix(core): file content block conversion to OpenAI format

#35075
Comparing
ademicho123:fix/file-content-block-openai-31505
(
ebf9c09
) with
master
(
06a7d07
)
CodSpeed Performance Gauge
-2%
Untouched
13
Skipped
21

Benchmarks

34 total
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
0%
23.4 ms*23.3 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
187.7 ms*189.5 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
541.2 ms*547.3 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
482.5 ms*488.1 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
551.4 ms*559.6 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
642.3 ms*653.6 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
452.5 ms*460.9 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
174.5 ms*178 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-3%
507.5 ms*521.5 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-3%
266.4 ms*274.5 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-4%
610.8 ms*634 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-4%
503.7 ms*525.7 ms
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-7%
543.3 ms*582.7 ms
test_create_chat_prompt_init_time
libs/partners/prompty/tests/unit_tests/test_standard.py
Skipped
311.9 µs*
test_init_time
libs/partners/ollama/tests/unit_tests/test_chat_models.py::TestChatOllama
Skipped
1.6 s*
test_chroma_init_time
libs/partners/chroma/tests/unit_tests/test_standard.py
Skipped
60 ms*
test_init_time
libs/partners/groq/tests/unit_tests/test_standard.py::TestGroqStandard
Skipped
1.6 s*
test_init_time
libs/partners/fireworks/tests/unit_tests/test_standard.py::TestFireworksStandard
Skipped
6.6 s*
test_init_time
libs/partners/perplexity/tests/unit_tests/test_chat_models_standard.py::TestPerplexityStandard
Skipped
1.7 s*
test_init_time
libs/partners/deepseek/tests/unit_tests/test_chat_models.py::TestChatDeepSeekUnit
Skipped
1.6 s*
test_init_time
libs/partners/mistralai/tests/unit_tests/test_standard.py::TestMistralStandard
Skipped
9.2 ms*
test_qdrant_vectorstore_init_time
libs/partners/qdrant/tests/unit_tests/test_standard.py
Skipped
225 ms*
test_nomic_embeddings_init_time
libs/partners/nomic/tests/unit_tests/test_standard.py
Skipped
1.5 ms*
test_init_time
libs/partners/xai/tests/unit_tests/test_chat_models_standard.py::TestXAIStandard
Skipped
3.3 s*
test_exa_retriever_init_time
libs/partners/exa/tests/unit_tests/test_standard.py
Skipped
316.4 µs*

Commits

Click on a commit to change the comparison range
Base
master
06a7d07
+0.39%
core: Fix file content block conversion to OpenAI format Fixes #31505
11d340f
2 hours ago
+1.44%
test: update test to use mime_type without auto-inferred filename
6b049cc
2 hours ago
-2.54%
fix: correct indentation in _extract_filename
ccbffef
2 hours ago
+0.15%
fix: move type ignore comment to correct line
5468b08
2 hours ago
-1.77%
fix: correct indentation in list comprehension
ebf9c09
1 hour ago
© 2026 CodSpeed Technology
Home Terms Privacy Docs