langchain/libs/community/langchain_community/chat_models
Alejandro Rodríguez 34ddfba76b
community: support usage_metadata for litellm streaming calls (#30683)
Support "usage_metadata" for LiteLLM streaming calls.

This is a follow-up to
https://github.com/langchain-ai/langchain/pull/30625, which tackled
non-streaming calls.

If no one reviews your PR within a few days, please @-mention one of
baskaryan, eyurtsev, ccurme, vbarda, hwchase17.
2025-04-18 12:50:32 -04:00
..
__init__.py
anthropic.py
anyscale.py community[patch]: fix errors introduced by pydantic 2.10 (#28297) 2024-11-22 17:50:13 -05:00
azure_openai.py Community/Partner: Adding Azure community and partner user agent to better track usage in Python (#29561) 2025-02-07 23:28:30 +00:00
azureml_endpoint.py
baichuan.py
baidu_qianfan_endpoint.py
bedrock.py community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
cloudflare_workersai.py multiple: enforce standards on tool_choice (#30372) 2025-03-20 17:48:59 +00:00
cohere.py
coze.py
dappier.py
databricks.py docs: Updating the imports for langchain-databricks to databricks-langchain (#29646) 2025-02-06 13:28:07 -08:00
deepinfra.py docs: updated ChatLiteLLM model_kwargs description (#29937) 2025-02-23 19:27:13 +00:00
edenai.py
ernie.py
everlyai.py
fake.py
fireworks.py
friendli.py community: update documentation and model IDs for FriendliAI provider (#28984) 2025-01-02 12:15:59 -05:00
gigachat.py
google_palm.py docs: fix GOOGLE_API_KEY typo (#28322) 2024-11-25 09:45:22 -05:00
gpt_router.py community[patch]: fix errors introduced by pydantic 2.10 (#28297) 2024-11-22 17:50:13 -05:00
huggingface.py
human.py
hunyuan.py
javelin_ai_gateway.py
jinachat.py
kinetica.py community[patch]: fix errors introduced by pydantic 2.10 (#28297) 2024-11-22 17:50:13 -05:00
konko.py community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
litellm_router.py community: Add ruff rule PGH003 (#30812) 2025-04-14 02:32:13 +00:00
litellm.py community: support usage_metadata for litellm streaming calls (#30683) 2025-04-18 12:50:32 -04:00
llama_edge.py
llamacpp.py community: Add ruff rule PGH003 (#30812) 2025-04-14 02:32:13 +00:00
maritalk.py
meta.py
minimax.py (Community): Changing the BaseURL and Model for MiniMax (#29299) 2025-01-19 14:15:02 -05:00
mlflow_ai_gateway.py
mlflow.py
mlx.py community/mlx_pipeline: fix crash at mlx call (#29915) 2025-02-21 09:14:53 -05:00
moonshot.py docs: Standardize MoonshotChat docstring (#28159) 2024-12-09 18:46:25 +00:00
naver.py community: fix some features on Naver ChatModel & embedding model 2 (#29243) 2025-01-20 11:01:03 -05:00
oci_data_science.py community: add new parameter default_headers (#28700) 2024-12-18 22:33:23 +00:00
oci_generative_ai.py community: Add ruff rule PGH003 (#30812) 2025-04-14 02:32:13 +00:00
octoai.py community[patch]: fix errors introduced by pydantic 2.10 (#28297) 2024-11-22 17:50:13 -05:00
ollama.py
openai.py
outlines.py community: make old stub for QuerySQLDataBaseTool private to skip api ref (#28711) 2024-12-13 10:43:23 -08:00
pai_eas_endpoint.py
perplexity.py Adding Perplexity extra and deprecating the community version of ChatPerplexity (#30649) 2025-04-03 14:29:17 -04:00
premai.py community: Add ruff rule PGH003 (#30812) 2025-04-14 02:32:13 +00:00
promptlayer_openai.py
reka.py multiple: enforce standards on tool_choice (#30372) 2025-03-20 17:48:59 +00:00
sambanova.py libs: add sambanova-lagchain integration package (#29417) 2025-01-27 20:34:55 +00:00
snowflake.py community: ChatSnowflakeCortex - Add streaming functionality (#27753) 2024-12-11 18:35:40 -08:00
solar.py partner: Update Upstage Model Names and Remove Deprecated Model (#29093) 2025-01-08 10:13:22 -05:00
sparkllm.py
symblai_nebula.py
tongyi.py ChatTongyi reasoning_content fix (#30694) 2025-04-07 09:27:33 -04:00
vertexai.py
volcengine_maas.py
writer.py community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
yandex.py
yi.py
yuan2.py
zhipuai.py community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00