We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 153bc57 commit 3e9ccbdCopy full SHA for 3e9ccbd
tests/models/test_openai.py
@@ -2966,7 +2966,9 @@ async def test_openai_response_prefix_stream(allow_model_requests: None):
2966
agent = Agent(m)
2967
2968
event_parts: list[Any] = []
2969
- async with agent.iter(user_prompt='What is the name of color #FF0000', response_prefix="It's name is ") as agent_run:
+ async with agent.iter(
2970
+ user_prompt='What is the name of color #FF0000', response_prefix="It's name is "
2971
+ ) as agent_run:
2972
async for node in agent_run:
2973
if Agent.is_model_request_node(node):
2974
async with node.stream(agent_run.ctx) as request_stream:
0 commit comments