102 matches across 1 files for error path:libs/partners/openai/langchain_openai/chat_models/base.py
snippet_mode: auto · sorted by relevance
libs/partners/openai/langchain_openai/chat_models/base.py PYTHON 102 matches · showing 5 view file →
32from functools import partial
33from io import BytesIO
34from json import JSONDecodeError
35from math import ceil
36from operator import itemgetter
· · ·
52 CallbackManagerForLLMRun,
53)
54from langchain_core.exceptions import ContextOverflowError
55from langchain_core.language_models import (
56 LanguageModelInput,
· · ·
124 Field,
125 SecretStr,
126 ValidationError,
127 field_validator,
128 model_validator,
· · ·
423 else:
424 msg = f"Got unknown type {message}"
425 raise TypeError(msg)
426 return message_dict
427
· · ·
452 for rtc in raw_tool_calls
453 ]
454 except KeyError:
455 pass
456
+ 97 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.