get_num_tokens_from_messages
libs/partners/openai/langchain_openai/chat_models/base.py
Last patched
Overview
get_num_tokens_from_messages in langchain-ai/langchain was changed by 1 published CVE fixes in 2026, in 1 distinct patches that added or removed 7 lines in total.
langchain-ai/langchain has 30 CVEs with a located fix in total, so 3% of them touched this function.