We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f514196 commit 2456959Copy full SHA for 2456959
1 file changed
tests/integrations/openai_agents/test_openai_agents.py
@@ -9,7 +9,7 @@
9
10
import sentry_sdk
11
from sentry_sdk import start_span
12
-from sentry_sdk.consts import SPANDATA
+from sentry_sdk.consts import SPANDATA, OP
13
from sentry_sdk.integrations.logging import LoggingIntegration
14
from sentry_sdk.integrations.openai_agents import OpenAIAgentsIntegration
15
from sentry_sdk.integrations.openai_agents.utils import _set_input_data, safe_serialize
@@ -1338,7 +1338,7 @@ async def test_hosted_mcp_tool_propagation_header_streamed(
1338
ai_client_span = next(
1339
span
1340
for span in transaction._span_recorder.spans
1341
- if span.op == "gen_ai.chat"
+ if span.op == OP.GEN_AI_CHAT
1342
)
1343
1344
args, kwargs = create.call_args
0 commit comments