Change8

langchain-core==1.2.10

📦 langchainView on GitHub →
3 features🔧 3 symbols

Summary

This release introduces a new `ContextOverflowError` for better error handling in LLM integrations and enhances token counting to include tool schemas.

✨ New Features

  • Added ContextOverflowError, which is now raised in Anthropic and OpenAI integrations.
  • Model profiles now include `text_inputs` and `text_outputs` fields.
  • Token counting in `count_tokens_approximately` now includes tokens from tool schemas.

Affected Symbols