From 302f47d3701a5abd8f154d997a5755293ab1bc76 Mon Sep 17 00:00:00 2001 From: Davor Runje Date: Mon, 16 Dec 2024 11:11:10 +0100 Subject: [PATCH 1/3] pytest upgraded to version 8 Signed-off-by: Davor Runje --- setup.py | 2 +- test/test_browser_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 4455626c7d..297aada44b 100644 --- a/setup.py +++ b/setup.py @@ -91,7 +91,7 @@ "pre-commit", "pytest-cov>=5", "pytest-asyncio", - "pytest>=6.1.1,<8", + "pytest>=8,<9", "pandas", ], "blendsearch": ["flaml[blendsearch]"], diff --git a/test/test_browser_utils.py b/test/test_browser_utils.py index 73fd619940..f0642945ee 100755 --- a/test/test_browser_utils.py +++ b/test/test_browser_utils.py @@ -156,7 +156,7 @@ def test_simple_text_browser(): @pytest.mark.skipif( - skip_bing, + skip_all or skip_bing, reason="do not run bing tests if key is missing", ) def test_bing_search(): From 5106d01807c0dbd14744b25207d38681c64ac6b2 Mon Sep 17 00:00:00 2001 From: borisbolliet Date: Mon, 16 Dec 2024 22:15:25 +0100 Subject: [PATCH 2/3] Update swarm.ipynb --- website/docs/topics/swarm.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/topics/swarm.ipynb b/website/docs/topics/swarm.ipynb index 82a0a3cc83..41ec9c7022 100644 --- a/website/docs/topics/swarm.ipynb +++ b/website/docs/topics/swarm.ipynb @@ -48,7 +48,7 @@ " return agent_2\n", "\n", "def transfer_to_agent_3():\n", - " \"\"\"condition_1\"\"\"\n", + " \"\"\"condition_2\"\"\"\n", " return agent_3\n", " \n", "agent_1 = SwarmAgent(..., functions=[transfer_to_agent_2, transfer_to_agent_3])\n", From 3ac39851806f7aae2240686188e9bfd7f0bd0fd3 Mon Sep 17 00:00:00 2001 From: Mark Sze Date: Tue, 17 Dec 2024 01:08:43 +0000 Subject: [PATCH 3/3] Updated resolutions for dall-e-3 Signed-off-by: Mark Sze --- .../capabilities/test_image_generation_capability.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/agentchat/contrib/capabilities/test_image_generation_capability.py b/test/agentchat/contrib/capabilities/test_image_generation_capability.py index abd73d52ce..c050a775af 100644 --- a/test/agentchat/contrib/capabilities/test_image_generation_capability.py +++ b/test/agentchat/contrib/capabilities/test_image_generation_capability.py @@ -34,11 +34,11 @@ filter_dict = {"model": ["gpt-4o-mini"]} -RESOLUTIONS = ["256x256", "512x512", "1024x1024"] +RESOLUTIONS = ["1024x1024", "1792x1024", "1024x1792"] QUALITIES = ["standard", "hd"] PROMPTS = [ - "Generate an image of a robot holding a 'I Love Autogen' sign", - "Generate an image of a dog holding a 'I Love Autogen' sign", + "Generate an image of a robot holding a 'I Love AG2' sign", + "Generate an image of a dog holding a 'I Love AG2' sign", ] @@ -228,5 +228,5 @@ def test_image_generation_capability_cache(monkeypatch): if __name__ == "__main__": test_dalle_image_generator( - dalle_config={"config_list": openai_utils.config_list_from_models(model_list=["dall-e-2"], exclude="aoai")} + dalle_config={"config_list": openai_utils.config_list_from_models(model_list=["dall-e-3"], exclude="aoai")} )