mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
Rm Warning that Tracing is Experimental (#7612)
This commit is contained in:
parent
d85c33a5c3
commit
2f848294cb
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user