langchain-openai==1.0.3
📦 langchainView on GitHub →
✨ 1 features🐛 3 fixes🔧 4 symbols
Summary
Version 1.0.3 introduces handling for incomplete streaming events and enforces token limits for embeddings, alongside several bug fixes for API compatibility.
✨ New Features
- Added handling for the 'response.incomplete' event when using stream_mode=['messages'].
🐛 Bug Fixes
- Enforced a 300k token limit for embeddings API requests to prevent overflow.
- Fixed backward compatibility issues for 'response_format'.
- Fixed 'create_agent' and 'response_format' integration for the Responses API.
🔧 Affected Symbols
create_agentresponse_formatstream_modeembeddings