Skip to content

Commit 74013b5

Browse files
committed
lint
1 parent 28a901f commit 74013b5

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

tests/integrations/pydantic_ai/test_pydantic_ai.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2268,7 +2268,10 @@ async def test_invoke_agent_with_instructions(
22682268
]
22692269
assert json.loads(system_instructions) == [
22702270
{"type": "text", "content": "System prompt"},
2271-
{"type": "text", "content": f"Instruction 1{instructions_separator}Instruction 2"},
2271+
{
2272+
"type": "text",
2273+
"content": f"Instruction 1{instructions_separator}Instruction 2",
2274+
},
22722275
]
22732276
else:
22742277
assert SPANDATA.GEN_AI_SYSTEM_INSTRUCTIONS not in chat_span["attributes"]
@@ -2291,7 +2294,10 @@ async def test_invoke_agent_with_instructions(
22912294
system_instructions = chat_span["data"][SPANDATA.GEN_AI_SYSTEM_INSTRUCTIONS]
22922295
assert json.loads(system_instructions) == [
22932296
{"type": "text", "content": "System prompt"},
2294-
{"type": "text", "content": f"Instruction 1{instructions_separator}Instruction 2"},
2297+
{
2298+
"type": "text",
2299+
"content": f"Instruction 1{instructions_separator}Instruction 2",
2300+
},
22952301
]
22962302
else:
22972303
assert SPANDATA.GEN_AI_SYSTEM_INSTRUCTIONS not in chat_span["data"]

0 commit comments

Comments
 (0)