Merge branch 'main' into ghcr

This commit is contained in:
Luca Beurer-Kellner
2025-03-12 19:36:30 +01:00
2 changed files with 12 additions and 0 deletions
@@ -119,6 +119,9 @@ async def test_chat_completion_with_tool_call_without_streaming(
)
trace = await trace_response.json()
for message in trace["messages"]:
message.pop("annotations", None)
# Verify the trace messages
expected_messages = history + [
{
@@ -79,6 +79,9 @@ async def test_chat_completion(
)
trace = await trace_response.json()
for message in trace["messages"]:
message.pop("annotations", None)
# Verify the trace messages
assert trace["messages"] == [
{
@@ -159,6 +162,9 @@ async def test_chat_completion_with_image(
)
trace = await trace_response.json()
for message in trace["messages"]:
message.pop("annotations", None)
# Verify the trace messages
assert trace["messages"] == [
{
@@ -227,6 +233,9 @@ async def test_chat_completion_with_invariant_key_in_openai_key_header(
)
trace = await trace_response.json()
for message in trace["messages"]:
message.pop("annotations", None)
# Verify the trace messages
assert trace["messages"] == [
{