Skip to content

Conversation

angus-langchain
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Sep 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
chat-langchain Ready Ready Preview Comment Sep 22, 2025 7:19pm

@angus-langchain angus-langchain changed the title Angus/enable stream usage Enable stream usage Sep 22, 2025
Copy link
Contributor

@mdrxy mdrxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems

model_name = model or _MODEL_MAP[model_provider]
model = _PROVIDER_MAP[model_provider](model=model_name, temperature=temperature)
model = _PROVIDER_MAP[model_provider](
model=model_name, temperature=temperature, stream_usage=True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's happening here? otherwise all seems fine

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting

@angus-langchain angus-langchain merged commit 605f8fa into master Sep 22, 2025
7 of 8 checks passed
@angus-langchain angus-langchain deleted the angus/enable-stream-usage branch September 22, 2025 19:24
kapp667 pushed a commit to kapp667/chat-langchain that referenced this pull request Oct 3, 2025
* Update langsmith version

* update ChatOpenAI to have stream_usage enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants