Skip to content

Commit 09b18d8

Browse files
authored
Upgrade deps (#1087)
1 parent 84cbdfd commit 09b18d8

File tree

4 files changed

+132
-125
lines changed

4 files changed

+132
-125
lines changed

tests/otel_integrations/test_anthropic.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ def test_sync_messages(instrumented_client: anthropic.Anthropic, exporter: TestE
177177
'cache_creation_input_tokens': None,
178178
'cache_read_input_tokens': None,
179179
'server_tool_use': None,
180+
'service_tier': None,
180181
},
181182
}
182183
)
@@ -255,6 +256,7 @@ async def test_async_messages(instrumented_async_client: anthropic.AsyncAnthropi
255256
'cache_creation_input_tokens': None,
256257
'cache_read_input_tokens': None,
257258
'server_tool_use': None,
259+
'service_tier': None,
258260
},
259261
}
260262
)
@@ -495,7 +497,7 @@ def test_tool_messages(instrumented_client: anthropic.Anthropic, exporter: TestE
495497
'logfire.msg': "Message with 'claude-3-haiku-20240307'",
496498
'logfire.span_type': 'span',
497499
'logfire.tags': ('LLM',),
498-
'response_data': '{"message":{"role":"assistant","tool_calls":[{"function":{"arguments":"{\\"input\\":{\\"param\\":\\"param\\"}}","name":"tool"}}]},"usage":{"cache_creation_input_tokens":null,"cache_read_input_tokens":null,"input_tokens":2,"output_tokens":3,"server_tool_use":null}}',
500+
'response_data': '{"message":{"role":"assistant","tool_calls":[{"function":{"arguments":"{\\"input\\":{\\"param\\":\\"param\\"}}","name":"tool"}}]},"usage":{"cache_creation_input_tokens":null,"cache_read_input_tokens":null,"input_tokens":2,"output_tokens":3,"server_tool_use":null,"service_tier":null}}',
499501
'logfire.json_schema': '{"type":"object","properties":{"request_data":{"type":"object"},"async":{},"response_data":{"type":"object","properties":{"usage":{"type":"object","title":"Usage","x-python-datatype":"PydanticModel"}}}}}',
500502
},
501503
}

tests/otel_integrations/test_anthropic_bedrock.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def test_sync_messages(mock_client: AnthropicBedrock, exporter: TestExporter):
107107
'cache_creation_input_tokens': None,
108108
'cache_read_input_tokens': None,
109109
'server_tool_use': None,
110+
'service_tier': None,
110111
},
111112
}
112113
)

tests/otel_integrations/test_openai_agents_mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def name(self):
224224
'code.filepath': 'test_openai_agents_mcp.py',
225225
'code.function': 'test_mcp',
226226
'code.lineno': 123,
227-
'request': {'method': 'tools/list', 'params': None, 'cursor': None},
227+
'request': {'method': 'tools/list', 'params': None},
228228
'rpc.system': 'jsonrpc',
229229
'rpc.jsonrpc.version': '2.0',
230230
'rpc.method': 'tools/list',

0 commit comments

Comments
 (0)