Avatar for the langchain-ai user
langchain-ai
langchain
Instrumentation
Wall Time
BlogDocsChangelog

fix: resolve OutputParserException when using Ollama instead of Gemini

#33140
Comparing
its-shashankY:fix/33016-ollama-output-parser-exception
(
0bc6982
) with
master
(
9863023
)
CodSpeed Performance Gauge
0%
Untouched
1
Skipped
20

Benchmarks

Skipped (20)

test_create_chat_prompt_init_time
libs/partners/prompty/tests/unit_tests/test_standard.py::test_create_chat_prompt_init_time
Skipped
312 µs*
test_nomic_embeddings_init_time
libs/partners/nomic/tests/unit_tests/test_standard.py::test_nomic_embeddings_init_time
Skipped
1.6 ms*
test_init_time
libs/partners/mistralai/tests/unit_tests/test_standard.py::TestMistralStandard::test_init_time
Skipped
9.9 ms*
test_exa_retriever_init_time
libs/partners/exa/tests/unit_tests/test_standard.py::test_exa_retriever_init_time
Skipped
338.5 µs*
test_stream_time
libs/partners/anthropic/tests/integration_tests/test_standard.py::TestAnthropicStandard::test_stream_time
Skipped
32.7 ms*
test_init_time
libs/partners/anthropic/tests/unit_tests/test_standard.py::TestAnthropicStandard::test_init_time
Skipped
674.2 µs*
test_init_time_with_client
libs/partners/anthropic/tests/unit_tests/test_standard.py::test_init_time_with_client
Skipped
2.2 ms*
test_chroma_init_time
libs/partners/chroma/tests/unit_tests/test_standard.py::test_chroma_init_time
Skipped
58.6 ms*
test_init_time
libs/partners/xai/tests/unit_tests/test_chat_models_standard.py::TestXAIStandard::test_init_time
Skipped
3.3 s*
test_init_time
libs/partners/fireworks/tests/unit_tests/test_standard.py::TestFireworksStandard::test_init_time
Skipped
6.6 s*
test_qdrant_vectorstore_init_time
libs/partners/qdrant/tests/unit_tests/test_standard.py::test_qdrant_vectorstore_init_time
Skipped
178.4 ms*
test_init_time
libs/partners/deepseek/tests/unit_tests/test_chat_models.py::TestChatDeepSeekUnit::test_init_time
Skipped
1.6 s*
test_init_time
libs/partners/groq/tests/unit_tests/test_standard.py::TestGroqStandard::test_init_time
Skipped
1.6 s*
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_base_standard.py::TestOpenAIStandard::test_init_time
Skipped
9.7 ms*
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIStandard::test_stream_time
Skipped
953.9 ms*
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_base_standard.py::TestOpenAIStandard::test_stream_time
Skipped
954.4 ms*
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIResponses::test_stream_time
Skipped
827.2 ms*
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_azure_standard.py::TestOpenAIStandard::test_init_time
Skipped
1.7 s*
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_responses_standard.py::TestOpenAIResponses::test_init_time
Skipped
9.8 ms*
test_init_time
libs/partners/perplexity/tests/unit_tests/test_chat_models_standard.py::TestPerplexityStandard::test_init_time
Skipped
835.5 ms*

Passed

test_init_time
libs/partners/ollama/tests/unit_tests/test_chat_models.py::TestChatOllama::test_init_time
CodSpeed Performance Gauge
0%
1.7 s1.7 s

Commits

Click on a commit to change the comparison range
Base
master
9863023
0%
fix: resolve OutputParserException when using Ollama instead of Gemini - Fixed output parsing compatibility issues between Ollama and Gemini models - Updated output parser to handle different response formats from Ollama - Added proper error handling for malformed responses - Ensured consistent behavior across different LLM providers Fixes #33016
fe21326
2 days ago
0%
additional fixes or improvements
cd86da1
2 days ago
0%
fix: break long conditional statement to meet line length limit
d8fa7b5
2 days ago
+0.01%
fix: apply code formatting to meet project standards
5464b92
2 days ago
-0.01%
fix: apply code formatting to meet project standards on line 955
e1addeb
2 days ago
+0.01%
fix: Removed Print and added all the imports on top of file stack
448d34c
2 days ago
-0.01%
fix: Removed Print and added all the imports on top of file stack
b3ab257
2 days ago
0%
fix: Fixed Exception with multiple similar exception
8598c3a
2 days ago
0%
fix: Fixed Exception with multiple similar exception
a0fe0c5
2 days ago
0%
fix: Fixed incompatible type str
89a9688
2 days ago
0%
fix: Fixed Linting Issue
0bc6982
2 days ago
© 2025 CodSpeed Technology
Home Terms Privacy Docs