Skip to content

[Fix]: Get logger from tracing folder instead of agents folder #839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from
2 changes: 1 addition & 1 deletion src/agents/tracing/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from collections.abc import Mapping, Sequence
from typing import TYPE_CHECKING, Any

from ..logger import logger
from .logger import logger
from .setup import get_trace_provider
from .span_data import (
AgentSpanData,
Expand Down
2 changes: 1 addition & 1 deletion src/agents/tracing/processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import httpx

from ..logger import logger
from .logger import logger
from .processor_interface import TracingExporter, TracingProcessor
from .spans import Span
from .traces import Trace
Expand Down
2 changes: 1 addition & 1 deletion src/agents/tracing/scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import contextvars
from typing import TYPE_CHECKING, Any

from ..logger import logger
from .logger import logger

if TYPE_CHECKING:
from .spans import Span
Expand Down
2 changes: 1 addition & 1 deletion src/agents/tracing/spans.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

from typing_extensions import TypedDict

from ..logger import logger
from . import util
from .logger import logger
from .processor_interface import TracingProcessor
from .scope import Scope
from .span_data import SpanData
Expand Down
2 changes: 1 addition & 1 deletion src/agents/tracing/traces.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import contextvars
from typing import Any

from ..logger import logger
from . import util
from .logger import logger
from .processor_interface import TracingProcessor
from .scope import Scope

Expand Down