You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/partners
Kaixin Yang a8104ea8e9
openai[patch]: add checking codes for calling AI model get error (#17909)
**Description:**: adding checking codes for calling AI model get error
in chat_models/base.py and llms/base.py
**Issue**: Sometimes the AI Model calling will get error, we should
raise it.
Otherwise, the next code 'choices.extend(response["choices"])' will
throw a "TypeError: 'NoneType' object is not iterable" error to mask the
true error.
       Because 'response["choices"]' is None.
**Dependencies**: None

---------

Co-authored-by: yangkx <yangkx@asiainfo-int.com>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
6 months ago
..
ai21 ai21[minor]: AI21 Labs Semantic Text Splitter support (#19510) 6 months ago
airbyte airbyte[patch]: release 0.1.1, python 3.9 compat (#18597) 7 months ago
anthropic docs: update docstring of the ChatAnthropic and AnthropicLLM classes (#18649) 6 months ago
astradb Revert "community: added `partners/package-name` folders" (#19662) 6 months ago
cohere cohere[patch]: release 0.1.0rc1 (rc1-2 never released) (#19731) 6 months ago
elasticsearch elasticsearch[patch]: move to repo (#19620) 6 months ago
exa docs: Additional examples for partners/exa README (#18081) 7 months ago
fireworks docs: moving FireworksEmbeddings documentation to docs folder (#19398) 7 months ago
google-genai Revert "community: added `partners/package-name` folders" (#19662) 6 months ago
google-vertexai Revert "community: added `partners/package-name` folders" (#19662) 6 months ago
groq docs: update docstring of the ChatGroq class (#18645) 6 months ago
ibm ibm[patch]: release 0.1.3 (#19094) 7 months ago
mistralai mistralai[patch]: release 0.1.0 (#19540) 6 months ago
mongodb community[patch], mongodb[patch]: Stop spamming SIMD import warnings (#19531) 6 months ago
nomic partners: version constraints (#17492) 8 months ago
nvidia-ai-endpoints Revert "community: added `partners/package-name` folders" (#19662) 6 months ago
nvidia-trt Revert "community: added `partners/package-name` folders" (#19662) 6 months ago
openai openai[patch]: add checking codes for calling AI model get error (#17909) 6 months ago
pinecone core[patch]: Convert SimSIMD back to NumPy (#19473) 6 months ago
robocorp robocorp[patch]: run integration tests on release (#19358) 7 months ago
together docs: update Together README.md (#18004) 6 months ago
voyageai voyageai[patch]: top level reranker import (#19645) 6 months ago