releaseintermediate
[Release] langchain-ai/langchain langchain-openrouter==0.1.0: langchain-openrouter==0.1.0
By github-actions[bot]github
View original on githubLangChain released langchain-openrouter version 0.1.0 with significant enhancements including streaming token usage support, cost tracking in response metadata, standard model properties, and default headers. The release includes bug fixes for SDK compatibility and model profile improvements.
Key Points
- •Streaming token usage support added to OpenRouter integration for real-time cost tracking during token generation
- •Cost and cost_details now surfaced in response_metadata to provide transparent pricing information for API calls
- •Standard model property implemented across OpenRouter, Fireworks, and Groq for consistent model interface
- •Default headers feature added to OpenRouter for simplified request configuration and reduced boilerplate
- •Role parameter included in SDK model_construct for improved minimum dependency compatibility
- •Model profile data refreshed and sorted by model ID to ensure stable diffs and accurate model information
- •GitHub releases now automatically created for partner package releases to improve release visibility and tracking
- •Version bumped from 0.0.2 to 0.1.0 indicating significant feature additions and improvements
Found this useful? Add it to a playbook for a step-by-step implementation guide.
Workflow Diagram
Start Process
Step A
Step B
Step C
Complete