Rm Warning that Tracing is Experimental (#7612)

This commit is contained in:
William FH 2023-07-12 14:04:28 -07:00 committed by GitHub
parent d85c33a5c3
commit 2f848294cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,6 @@ import asyncio
import functools import functools
import logging import logging
import os import os
import warnings
from contextlib import asynccontextmanager, contextmanager from contextlib import asynccontextmanager, contextmanager
from contextvars import ContextVar from contextvars import ContextVar
from typing import ( from typing import (
@ -163,11 +162,6 @@ def tracing_v2_enabled(
>>> with tracing_v2_enabled(): >>> with tracing_v2_enabled():
... # LangChain code will automatically be traced ... # LangChain code will automatically be traced
""" """
# Issue a warning that this is experimental
warnings.warn(
"The tracing v2 API is in development. "
"This is not yet stable and may change in the future."
)
if isinstance(example_id, str): if isinstance(example_id, str):
example_id = UUID(example_id) example_id = UUID(example_id)
cb = LangChainTracer( cb = LangChainTracer(