fix: _LC_ID_PREFIX back

This commit is contained in:
Mason Daugherty
2025-08-15 16:27:08 -04:00
parent 7a8c6398a4
commit 987031f86c
2 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ from langchain_core._import_utils import import_attr
if TYPE_CHECKING:
from langchain_core.messages.ai import (
_LC_ID_PREFIX,
AIMessage,
AIMessageChunk,
)
@@ -90,6 +91,7 @@ if TYPE_CHECKING:
__all__ = (
"LC_AUTO_PREFIX",
"LC_ID_PREFIX",
"_LC_ID_PREFIX",
"AIMessage",
"AIMessageChunk",
"Annotation",

View File

@@ -26,6 +26,8 @@ from langchain_core.utils.usage import _dict_int_op
logger = logging.getLogger(__name__)
_LC_ID_PREFIX = types.LC_ID_PREFIX
class InputTokenDetails(TypedDict, total=False):
"""Breakdown of input token counts.