6,570 matches across 25 files for error lang:Python lang:Python lang:Python lang:Python
snippet_mode: summary · sorted by relevance
libs/partners/openai/langchain_openai/chat_models/base.py PYTHON 102 matches · showing 1 view file →
34from json import JSONDecodeError
+ 101 more matches in this file
libs/langchain_v1/langchain/agents/factory.py PYTHON 45 matches · showing 1 view file →
49 MultipleStructuredOutputsError,
+ 44 more matches in this file
libs/core/langchain_core/language_models/llms.py PYTHON 47 matches · showing 1 view file →
72def _log_error_once(msg: str) -> None:
+ 46 more matches in this file
libs/core/langchain_core/messages/block_translators/openai.py PYTHON 32 matches · showing 1 view file →
29 ValueError: If required keys are missing.
+ 31 more matches in this file
libs/standard-tests/langchain_tests/integration_tests/sandboxes.py PYTHON 144 matches · showing 1 view file →
119 assert result.error is None
+ 143 more matches in this file
libs/core/langchain_core/callbacks/manager.py PYTHON 88 matches · showing 1 view file →
127 run_manager.on_chain_error(e)
+ 87 more matches in this file
libs/core/langchain_core/language_models/chat_model_stream.py PYTHON 57 matches · showing 1 view file →
172 `done` and `error` are safe read-only views of the terminal state
+ 56 more matches in this file
libs/langchain/langchain_classic/chains/loading.py PYTHON 47 matches · showing 1 view file →
48except ImportError:
+ 46 more matches in this file
libs/core/langchain_core/indexing/api.py PYTHON 43 matches · showing 1 view file →
95 raise ValueError(msg)
+ 42 more matches in this file
libs/core/langchain_core/messages/utils.py PYTHON 54 matches · showing 1 view file →
35from langchain_core.exceptions import ErrorCode, create_message
+ 53 more matches in this file
libs/partners/ollama/langchain_ollama/chat_models.py PYTHON 35 matches · showing 1 view file →
133 raw_tool_call: Raw tool call to include in error message.
+ 34 more matches in this file
libs/core/langchain_core/runnables/utils.py PYTHON 12 matches · showing 1 view file →
96 except ValueError:
+ 11 more matches in this file
libs/core/langchain_core/language_models/chat_models.py PYTHON 62 matches · showing 1 view file →
108def _generate_response_from_error(error: BaseException) -> list[ChatGeneration]:
+ 61 more matches in this file
libs/partners/anthropic/langchain_anthropic/middleware/anthropic_tools.py PYTHON 23 matches · showing 1 view file →
107 ValueError: If path contains traversal sequences or violates prefix rules.
+ 22 more matches in this file
libs/core/langchain_core/output_parsers/openai_tools.py PYTHON 20 matches · showing 1 view file →
6from json import JSONDecodeError
+ 19 more matches in this file
libs/langchain_v1/langchain/agents/middleware/summarization.py PYTHON 18 matches · showing 1 view file →
356 raise ValueError(msg)
+ 17 more matches in this file
libs/partners/mistralai/langchain_mistralai/chat_models.py PYTHON 40 matches · showing 1 view file →
111 errors = [httpx.RequestError, httpx.StreamError]
+ 39 more matches in this file
libs/partners/anthropic/langchain_anthropic/chat_models.py PYTHON 35 matches · showing 1 view file →
21from langchain_core.exceptions import ContextOverflowError, OutputParserException
+ 34 more matches in this file
libs/core/langchain_core/tools/base.py PYTHON 99 matches · showing 1 view file →
33 ValidationError,
+ 98 more matches in this file
libs/langchain/langchain_classic/agents/agent.py PYTHON 64 matches · showing 1 view file →
127 ValueError: If `early_stopping_method` is not supported.
+ 63 more matches in this file
libs/core/langchain_core/utils/mustache.py PYTHON 23 matches · showing 1 view file →
32class ChevronError(SyntaxError):
+ 22 more matches in this file
libs/langchain/langchain_classic/smith/evaluation/runner_utils.py PYTHON 65 matches · showing 1 view file →
43from langsmith.utils import LangSmithError
+ 64 more matches in this file
libs/partners/fireworks/langchain_fireworks/chat_models.py PYTHON 66 matches · showing 1 view file →
19 APIConnectionError,
+ 65 more matches in this file
libs/langchain_v1/langchain/agents/middleware/types.py PYTHON 23 matches · showing 1 view file →
134 ValueError: If both `system_prompt` and `system_message` are provided.
+ 22 more matches in this file
libs/partners/huggingface/langchain_huggingface/llms/huggingface_pipeline.py PYTHON 15 matches · showing 1 view file →
14 IMPORT_ERROR,
+ 14 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.