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 bd6a4f8 commit 0a9f03aCopy full SHA for 0a9f03a
tests/contrib/openai_agents/test_openai.py
@@ -1859,7 +1859,7 @@ async def get_response(
1859
prompt: Union[ResponsePromptParam, None] = None,
1860
) -> ModelResponse:
1861
activity.logger.info("Waiting")
1862
- await asyncio.sleep(.5)
+ await asyncio.sleep(0.5)
1863
activity.logger.info("Returning")
1864
return ModelResponse(
1865
output=[
@@ -1900,7 +1900,7 @@ async def test_heartbeat(client: Client):
1900
new_config["plugins"] = [
1901
openai_agents.OpenAIAgentsPlugin(
1902
model_params=ModelActivityParameters(
1903
- heartbeat_timeout=timedelta(seconds=.2),
+ heartbeat_timeout=timedelta(seconds=0.2),
1904
),
1905
model_provider=TestModelProvider(WaitModel()),
1906
)
0 commit comments