Skip to content

Commit 7bf0e84

Browse files
committed
fix(telemetry): pre-commit fixes
1 parent 990e5ed commit 7bf0e84

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/llama_stack/providers/inline/agents/meta_reference/responses/streaming.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
from collections.abc import AsyncIterator
99
from typing import Any
1010

11-
from opentelemetry import trace
12-
1311
from llama_stack_api import (
1412
AllowedToolsFilter,
1513
ApprovalFilter,
@@ -66,6 +64,7 @@
6664
OpenAIResponseUsageOutputTokensDetails,
6765
WebSearchToolTypes,
6866
)
67+
from opentelemetry import trace
6968

7069
from llama_stack.log import get_logger
7170
from llama_stack.providers.utils.inference.prompt_adapter import interleaved_content_as_str

src/llama_stack/providers/inline/agents/meta_reference/responses/tool_executor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
from collections.abc import AsyncIterator
1010
from typing import Any
1111

12-
from opentelemetry import trace
13-
1412
from llama_stack_api import (
1513
ImageContentItem,
1614
OpenAIChatCompletionContentPartImageParam,
@@ -38,6 +36,7 @@
3836
ToolRuntime,
3937
VectorIO,
4038
)
39+
from opentelemetry import trace
4140

4241
from llama_stack.log import get_logger
4342

src/llama_stack/providers/inline/agents/meta_reference/safety.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import asyncio
88

99
from llama_stack_api import OpenAIMessageParam, Safety, SafetyViolation, ViolationLevel
10+
1011
from llama_stack.log import get_logger
1112

1213
log = get_logger(name=__name__, category="agents::meta_reference")

0 commit comments

Comments
 (0)