ag2 0.6.0b1__tar.gz → 0.6.0b2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ag2 might be problematic. Click here for more details.
- {ag2-0.6.0b1/ag2.egg-info → ag2-0.6.0b2}/PKG-INFO +4 -4
- {ag2-0.6.0b1 → ag2-0.6.0b2}/README.md +3 -3
- {ag2-0.6.0b1 → ag2-0.6.0b2/ag2.egg-info}/PKG-INFO +4 -4
- ag2-0.6.0b2/ag2.egg-info/requires.txt +106 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/pyproject.toml +2 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/setup.py +2 -1
- {ag2-0.6.0b1 → ag2-0.6.0b2}/test/test_function_utils.py +6 -7
- {ag2-0.6.0b1 → ag2-0.6.0b2}/test/test_logging.py +1 -1
- {ag2-0.6.0b1 → ag2-0.6.0b2}/test/test_pydantic.py +4 -5
- ag2-0.6.0b1/ag2.egg-info/requires.txt +0 -106
- {ag2-0.6.0b1 → ag2-0.6.0b2}/LICENSE +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/NOTICE.md +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/ag2.egg-info/SOURCES.txt +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/ag2.egg-info/dependency_links.txt +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/ag2.egg-info/top_level.txt +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/setup.cfg +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/setup_ag2.py +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/test/test_browser_utils.py +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/test/test_code_utils.py +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/test/test_graph_utils.py +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/test/test_notebook.py +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/test/test_retrieve_utils.py +0 -0
- {ag2-0.6.0b1 → ag2-0.6.0b2}/test/test_token_count.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ag2
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.0b2
|
|
4
4
|
Summary: Alias package for pyautogen
|
|
5
5
|
Home-page: https://github.com/ag2ai/ag2
|
|
6
6
|
Author: Chi Wang & Qingyun Wu
|
|
@@ -99,7 +99,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
|
|
|
99
99
|
|
|
100
100
|
:tada: Apr 17, 2024: Andrew Ng cited AutoGen in [The Batch newsletter](https://www.deeplearning.ai/the-batch/issue-245/) and [What's next for AI agentic workflows](https://youtu.be/sal78ACtGTc?si=JduUzN_1kDnMq0vF) at Sequoia Capital's AI Ascent (Mar 26).
|
|
101
101
|
|
|
102
|
-
:tada: Mar 3, 2024: What's new in AutoGen? 📰[Blog](https://
|
|
102
|
+
:tada: Mar 3, 2024: What's new in AutoGen? 📰[Blog](https://docs.ag2.ai/blog/2024-03-03-AutoGen-Update); 📺[Youtube](https://www.youtube.com/watch?v=j_mtwQiaLGU).
|
|
103
103
|
|
|
104
104
|
<!-- :tada: Mar 1, 2024: the first AutoGen multi-agent experiment on the challenging [GAIA](https://huggingface.co/spaces/gaia-benchmark/leaderboard) benchmark achieved the No. 1 accuracy in all the three levels. -->
|
|
105
105
|
|
|
@@ -109,7 +109,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
|
|
|
109
109
|
|
|
110
110
|
<!-- :fire: Nov 24: pyautogen [v0.2](https://github.com/ag2ai/ag2/releases/tag/v0.2.0) is released with many updates and new features compared to v0.1.1. It switches to using openai-python v1. Please read the [migration guide](https://ag2ai.github.io/ag2/docs/Installation#python). -->
|
|
111
111
|
|
|
112
|
-
<!-- :fire: Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents! Checkout our [blogpost](https://
|
|
112
|
+
<!-- :fire: Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents! Checkout our [blogpost](https://docs.ag2.ai/blog/2023-11-13-OAI-assistants) for details and examples. -->
|
|
113
113
|
|
|
114
114
|
:tada: Nov 8, 2023: AutoGen is selected into [Open100: Top 100 Open Source achievements](https://www.benchcouncil.org/evaluation/opencs/annual.html) 35 days after spinoff from [FLAML](https://github.com/microsoft/FLAML).
|
|
115
115
|
|
|
@@ -286,7 +286,7 @@ You can find detailed documentation about AG2 [here](https://ag2ai.github.io/ag2
|
|
|
286
286
|
|
|
287
287
|
In addition, you can find:
|
|
288
288
|
|
|
289
|
-
- [Research](https://ag2ai.github.io/ag2/docs/Research), [blogposts](https://
|
|
289
|
+
- [Research](https://ag2ai.github.io/ag2/docs/Research), [blogposts](https://docs.ag2.ai/blog) around AG2, and [Transparency FAQs](https://github.com/ag2ai/ag2/blob/main/TRANSPARENCY_FAQS.md)
|
|
290
290
|
|
|
291
291
|
- [Discord](https://discord.gg/pAbnFJrkgZ)
|
|
292
292
|
|
|
@@ -47,7 +47,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
|
|
|
47
47
|
|
|
48
48
|
:tada: Apr 17, 2024: Andrew Ng cited AutoGen in [The Batch newsletter](https://www.deeplearning.ai/the-batch/issue-245/) and [What's next for AI agentic workflows](https://youtu.be/sal78ACtGTc?si=JduUzN_1kDnMq0vF) at Sequoia Capital's AI Ascent (Mar 26).
|
|
49
49
|
|
|
50
|
-
:tada: Mar 3, 2024: What's new in AutoGen? 📰[Blog](https://
|
|
50
|
+
:tada: Mar 3, 2024: What's new in AutoGen? 📰[Blog](https://docs.ag2.ai/blog/2024-03-03-AutoGen-Update); 📺[Youtube](https://www.youtube.com/watch?v=j_mtwQiaLGU).
|
|
51
51
|
|
|
52
52
|
<!-- :tada: Mar 1, 2024: the first AutoGen multi-agent experiment on the challenging [GAIA](https://huggingface.co/spaces/gaia-benchmark/leaderboard) benchmark achieved the No. 1 accuracy in all the three levels. -->
|
|
53
53
|
|
|
@@ -57,7 +57,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
|
|
|
57
57
|
|
|
58
58
|
<!-- :fire: Nov 24: pyautogen [v0.2](https://github.com/ag2ai/ag2/releases/tag/v0.2.0) is released with many updates and new features compared to v0.1.1. It switches to using openai-python v1. Please read the [migration guide](https://ag2ai.github.io/ag2/docs/Installation#python). -->
|
|
59
59
|
|
|
60
|
-
<!-- :fire: Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents! Checkout our [blogpost](https://
|
|
60
|
+
<!-- :fire: Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents! Checkout our [blogpost](https://docs.ag2.ai/blog/2023-11-13-OAI-assistants) for details and examples. -->
|
|
61
61
|
|
|
62
62
|
:tada: Nov 8, 2023: AutoGen is selected into [Open100: Top 100 Open Source achievements](https://www.benchcouncil.org/evaluation/opencs/annual.html) 35 days after spinoff from [FLAML](https://github.com/microsoft/FLAML).
|
|
63
63
|
|
|
@@ -234,7 +234,7 @@ You can find detailed documentation about AG2 [here](https://ag2ai.github.io/ag2
|
|
|
234
234
|
|
|
235
235
|
In addition, you can find:
|
|
236
236
|
|
|
237
|
-
- [Research](https://ag2ai.github.io/ag2/docs/Research), [blogposts](https://
|
|
237
|
+
- [Research](https://ag2ai.github.io/ag2/docs/Research), [blogposts](https://docs.ag2.ai/blog) around AG2, and [Transparency FAQs](https://github.com/ag2ai/ag2/blob/main/TRANSPARENCY_FAQS.md)
|
|
238
238
|
|
|
239
239
|
- [Discord](https://discord.gg/pAbnFJrkgZ)
|
|
240
240
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ag2
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.0b2
|
|
4
4
|
Summary: Alias package for pyautogen
|
|
5
5
|
Home-page: https://github.com/ag2ai/ag2
|
|
6
6
|
Author: Chi Wang & Qingyun Wu
|
|
@@ -99,7 +99,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
|
|
|
99
99
|
|
|
100
100
|
:tada: Apr 17, 2024: Andrew Ng cited AutoGen in [The Batch newsletter](https://www.deeplearning.ai/the-batch/issue-245/) and [What's next for AI agentic workflows](https://youtu.be/sal78ACtGTc?si=JduUzN_1kDnMq0vF) at Sequoia Capital's AI Ascent (Mar 26).
|
|
101
101
|
|
|
102
|
-
:tada: Mar 3, 2024: What's new in AutoGen? 📰[Blog](https://
|
|
102
|
+
:tada: Mar 3, 2024: What's new in AutoGen? 📰[Blog](https://docs.ag2.ai/blog/2024-03-03-AutoGen-Update); 📺[Youtube](https://www.youtube.com/watch?v=j_mtwQiaLGU).
|
|
103
103
|
|
|
104
104
|
<!-- :tada: Mar 1, 2024: the first AutoGen multi-agent experiment on the challenging [GAIA](https://huggingface.co/spaces/gaia-benchmark/leaderboard) benchmark achieved the No. 1 accuracy in all the three levels. -->
|
|
105
105
|
|
|
@@ -109,7 +109,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
|
|
|
109
109
|
|
|
110
110
|
<!-- :fire: Nov 24: pyautogen [v0.2](https://github.com/ag2ai/ag2/releases/tag/v0.2.0) is released with many updates and new features compared to v0.1.1. It switches to using openai-python v1. Please read the [migration guide](https://ag2ai.github.io/ag2/docs/Installation#python). -->
|
|
111
111
|
|
|
112
|
-
<!-- :fire: Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents! Checkout our [blogpost](https://
|
|
112
|
+
<!-- :fire: Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents! Checkout our [blogpost](https://docs.ag2.ai/blog/2023-11-13-OAI-assistants) for details and examples. -->
|
|
113
113
|
|
|
114
114
|
:tada: Nov 8, 2023: AutoGen is selected into [Open100: Top 100 Open Source achievements](https://www.benchcouncil.org/evaluation/opencs/annual.html) 35 days after spinoff from [FLAML](https://github.com/microsoft/FLAML).
|
|
115
115
|
|
|
@@ -286,7 +286,7 @@ You can find detailed documentation about AG2 [here](https://ag2ai.github.io/ag2
|
|
|
286
286
|
|
|
287
287
|
In addition, you can find:
|
|
288
288
|
|
|
289
|
-
- [Research](https://ag2ai.github.io/ag2/docs/Research), [blogposts](https://
|
|
289
|
+
- [Research](https://ag2ai.github.io/ag2/docs/Research), [blogposts](https://docs.ag2.ai/blog) around AG2, and [Transparency FAQs](https://github.com/ag2ai/ag2/blob/main/TRANSPARENCY_FAQS.md)
|
|
290
290
|
|
|
291
291
|
- [Discord](https://discord.gg/pAbnFJrkgZ)
|
|
292
292
|
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
pyautogen==0.6.0b2
|
|
2
|
+
|
|
3
|
+
[anthropic]
|
|
4
|
+
pyautogen[anthropic]==0.6.0b2
|
|
5
|
+
|
|
6
|
+
[autobuild]
|
|
7
|
+
pyautogen[autobuild]==0.6.0b2
|
|
8
|
+
|
|
9
|
+
[bedrock]
|
|
10
|
+
pyautogen[bedrock]==0.6.0b2
|
|
11
|
+
|
|
12
|
+
[blendsearch]
|
|
13
|
+
pyautogen[blendsearch]==0.6.0b2
|
|
14
|
+
|
|
15
|
+
[captainagent]
|
|
16
|
+
pyautogen[captainagent]==0.6.0b2
|
|
17
|
+
|
|
18
|
+
[cerebras]
|
|
19
|
+
pyautogen[cerebras]==0.6.0b2
|
|
20
|
+
|
|
21
|
+
[cohere]
|
|
22
|
+
pyautogen[cohere]==0.6.0b2
|
|
23
|
+
|
|
24
|
+
[cosmosdb]
|
|
25
|
+
pyautogen[cosmosdb]==0.6.0b2
|
|
26
|
+
|
|
27
|
+
[gemini]
|
|
28
|
+
pyautogen[gemini]==0.6.0b2
|
|
29
|
+
|
|
30
|
+
[graph]
|
|
31
|
+
pyautogen[graph]==0.6.0b2
|
|
32
|
+
|
|
33
|
+
[graph-rag-falkor-db]
|
|
34
|
+
pyautogen[graph-rag-falkor-db]==0.6.0b2
|
|
35
|
+
|
|
36
|
+
[groq]
|
|
37
|
+
pyautogen[groq]==0.6.0b2
|
|
38
|
+
|
|
39
|
+
[interop]
|
|
40
|
+
pyautogen[interop]==0.6.0b2
|
|
41
|
+
|
|
42
|
+
[interop-crewai]
|
|
43
|
+
pyautogen[interop-crewai]==0.6.0b2
|
|
44
|
+
|
|
45
|
+
[interop-langchain]
|
|
46
|
+
pyautogen[interop-langchain]==0.6.0b2
|
|
47
|
+
|
|
48
|
+
[interop-pydantic-ai]
|
|
49
|
+
pyautogen[interop-pydantic-ai]==0.6.0b2
|
|
50
|
+
|
|
51
|
+
[jupyter-executor]
|
|
52
|
+
pyautogen[jupyter-executor]==0.6.0b2
|
|
53
|
+
|
|
54
|
+
[lmm]
|
|
55
|
+
pyautogen[lmm]==0.6.0b2
|
|
56
|
+
|
|
57
|
+
[long-context]
|
|
58
|
+
pyautogen[long-context]==0.6.0b2
|
|
59
|
+
|
|
60
|
+
[mathchat]
|
|
61
|
+
pyautogen[mathchat]==0.6.0b2
|
|
62
|
+
|
|
63
|
+
[mistral]
|
|
64
|
+
pyautogen[mistral]==0.6.0b2
|
|
65
|
+
|
|
66
|
+
[neo4j]
|
|
67
|
+
pyautogen[neo4j]==0.6.0b2
|
|
68
|
+
|
|
69
|
+
[ollama]
|
|
70
|
+
pyautogen[ollama]==0.6.0b2
|
|
71
|
+
|
|
72
|
+
[redis]
|
|
73
|
+
pyautogen[redis]==0.6.0b2
|
|
74
|
+
|
|
75
|
+
[retrievechat]
|
|
76
|
+
pyautogen[retrievechat]==0.6.0b2
|
|
77
|
+
|
|
78
|
+
[retrievechat-mongodb]
|
|
79
|
+
pyautogen[retrievechat-mongodb]==0.6.0b2
|
|
80
|
+
|
|
81
|
+
[retrievechat-pgvector]
|
|
82
|
+
pyautogen[retrievechat-pgvector]==0.6.0b2
|
|
83
|
+
|
|
84
|
+
[retrievechat-qdrant]
|
|
85
|
+
pyautogen[retrievechat-qdrant]==0.6.0b2
|
|
86
|
+
|
|
87
|
+
[teachable]
|
|
88
|
+
pyautogen[teachable]==0.6.0b2
|
|
89
|
+
|
|
90
|
+
[test]
|
|
91
|
+
pyautogen[test]==0.6.0b2
|
|
92
|
+
|
|
93
|
+
[together]
|
|
94
|
+
pyautogen[together]==0.6.0b2
|
|
95
|
+
|
|
96
|
+
[twilio]
|
|
97
|
+
pyautogen[twilio]==0.6.0b2
|
|
98
|
+
|
|
99
|
+
[types]
|
|
100
|
+
pyautogen[types]==0.6.0b2
|
|
101
|
+
|
|
102
|
+
[websockets]
|
|
103
|
+
pyautogen[websockets]==0.6.0b2
|
|
104
|
+
|
|
105
|
+
[websurfer]
|
|
106
|
+
pyautogen[websurfer]==0.6.0b2
|
|
@@ -62,11 +62,13 @@ files = [
|
|
|
62
62
|
"autogen/io",
|
|
63
63
|
"autogen/tools",
|
|
64
64
|
"autogen/interop",
|
|
65
|
+
"autogen/agentchat/realtime_agent",
|
|
65
66
|
"test/test_pydantic.py",
|
|
66
67
|
"test/test_function_utils.py",
|
|
67
68
|
"test/io",
|
|
68
69
|
"test/tools",
|
|
69
70
|
"test/interop",
|
|
71
|
+
"test/agentchat/realtime_agent",
|
|
70
72
|
]
|
|
71
73
|
exclude = [
|
|
72
74
|
"autogen/math_utils\\.py",
|
|
@@ -82,6 +82,7 @@ neo4j = [
|
|
|
82
82
|
"llama-index-core==0.12.5",
|
|
83
83
|
]
|
|
84
84
|
|
|
85
|
+
# used for agentchat_realtime_swarm notebook and realtime agent twilio demo
|
|
85
86
|
twilio = ["fastapi>=0.115.0,<1", "uvicorn>=0.30.6,<1", "twilio>=9.3.2"]
|
|
86
87
|
|
|
87
88
|
interop_crewai = ["crewai[tools]>=0.86,<1; python_version>='3.10' and python_version<'3.13'"]
|
|
@@ -89,7 +90,7 @@ interop_langchain = ["langchain-community>=0.3.12,<1"]
|
|
|
89
90
|
interop_pydantic_ai = ["pydantic-ai==0.0.13"]
|
|
90
91
|
interop = interop_crewai + interop_langchain + interop_pydantic_ai
|
|
91
92
|
|
|
92
|
-
types = ["mypy==1.9.0"] + test + jupyter_executor + interop
|
|
93
|
+
types = ["mypy==1.9.0"] + test + jupyter_executor + interop + ["fastapi>=0.115.0,<1"]
|
|
93
94
|
|
|
94
95
|
if current_os in ["Windows", "Darwin"]:
|
|
95
96
|
retrieve_chat_pgvector.extend(["psycopg[binary]>=3.1.18"])
|
|
@@ -7,11 +7,10 @@
|
|
|
7
7
|
import asyncio
|
|
8
8
|
import inspect
|
|
9
9
|
import unittest.mock
|
|
10
|
-
from typing import Any, Dict, List, Literal, Optional, Tuple
|
|
10
|
+
from typing import Annotated, Any, Dict, List, Literal, Optional, Tuple
|
|
11
11
|
|
|
12
12
|
import pytest
|
|
13
13
|
from pydantic import BaseModel, Field
|
|
14
|
-
from typing_extensions import Annotated
|
|
15
14
|
|
|
16
15
|
from autogen._pydantic import PYDANTIC_V1, model_dump
|
|
17
16
|
from autogen.function_utils import (
|
|
@@ -40,7 +39,7 @@ def g( # type: ignore[empty-body]
|
|
|
40
39
|
b: int = 2,
|
|
41
40
|
c: Annotated[float, "Parameter c"] = 0.1,
|
|
42
41
|
*,
|
|
43
|
-
d:
|
|
42
|
+
d: dict[str, tuple[Optional[int], list[float]]],
|
|
44
43
|
) -> str:
|
|
45
44
|
pass
|
|
46
45
|
|
|
@@ -50,7 +49,7 @@ async def a_g( # type: ignore[empty-body]
|
|
|
50
49
|
b: int = 2,
|
|
51
50
|
c: Annotated[float, "Parameter c"] = 0.1,
|
|
52
51
|
*,
|
|
53
|
-
d:
|
|
52
|
+
d: dict[str, tuple[Optional[int], list[float]]],
|
|
54
53
|
) -> str:
|
|
55
54
|
pass
|
|
56
55
|
|
|
@@ -89,7 +88,7 @@ def test_get_parameter_json_schema() -> None:
|
|
|
89
88
|
b: float
|
|
90
89
|
c: str
|
|
91
90
|
|
|
92
|
-
expected:
|
|
91
|
+
expected: dict[str, Any] = {
|
|
93
92
|
"description": "b",
|
|
94
93
|
"properties": {"b": {"title": "B", "type": "number"}, "c": {"title": "C", "type": "string"}},
|
|
95
94
|
"required": ["b", "c"],
|
|
@@ -367,7 +366,7 @@ def test_load_basemodels_if_needed_sync() -> None:
|
|
|
367
366
|
def f(
|
|
368
367
|
base: Annotated[Currency, "Base currency"],
|
|
369
368
|
quote_currency: Annotated[CurrencySymbol, "Quote currency"] = "EUR",
|
|
370
|
-
) ->
|
|
369
|
+
) -> tuple[Currency, CurrencySymbol]:
|
|
371
370
|
return base, quote_currency
|
|
372
371
|
|
|
373
372
|
assert not inspect.iscoroutinefunction(f)
|
|
@@ -385,7 +384,7 @@ async def test_load_basemodels_if_needed_async() -> None:
|
|
|
385
384
|
async def f(
|
|
386
385
|
base: Annotated[Currency, "Base currency"],
|
|
387
386
|
quote_currency: Annotated[CurrencySymbol, "Quote currency"] = "EUR",
|
|
388
|
-
) ->
|
|
387
|
+
) -> tuple[Currency, CurrencySymbol]:
|
|
389
388
|
return base, quote_currency
|
|
390
389
|
|
|
391
390
|
assert inspect.iscoroutinefunction(f)
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
#
|
|
5
5
|
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
from typing import Dict, List, Optional, Tuple, Union
|
|
7
|
+
from typing import Annotated, Dict, List, Optional, Tuple, Union
|
|
8
8
|
|
|
9
9
|
from pydantic import BaseModel, Field
|
|
10
|
-
from typing_extensions import Annotated
|
|
11
10
|
|
|
12
11
|
from autogen._pydantic import model_dump, model_dump_json, type2schema
|
|
13
12
|
|
|
@@ -19,14 +18,14 @@ def test_type2schema() -> None:
|
|
|
19
18
|
assert type2schema(bool) == {"type": "boolean"}
|
|
20
19
|
assert type2schema(None) == {"type": "null"}
|
|
21
20
|
assert type2schema(Optional[int]) == {"anyOf": [{"type": "integer"}, {"type": "null"}]}
|
|
22
|
-
assert type2schema(
|
|
23
|
-
assert type2schema(
|
|
21
|
+
assert type2schema(list[int]) == {"items": {"type": "integer"}, "type": "array"}
|
|
22
|
+
assert type2schema(tuple[int, float, str]) == {
|
|
24
23
|
"maxItems": 3,
|
|
25
24
|
"minItems": 3,
|
|
26
25
|
"prefixItems": [{"type": "integer"}, {"type": "number"}, {"type": "string"}],
|
|
27
26
|
"type": "array",
|
|
28
27
|
}
|
|
29
|
-
assert type2schema(
|
|
28
|
+
assert type2schema(dict[str, int]) == {"additionalProperties": {"type": "integer"}, "type": "object"}
|
|
30
29
|
assert type2schema(Annotated[str, "some text"]) == {"type": "string"}
|
|
31
30
|
assert type2schema(Union[int, float]) == {"anyOf": [{"type": "integer"}, {"type": "number"}]}
|
|
32
31
|
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
pyautogen==0.6.0b1
|
|
2
|
-
|
|
3
|
-
[anthropic]
|
|
4
|
-
pyautogen[anthropic]==0.6.0b1
|
|
5
|
-
|
|
6
|
-
[autobuild]
|
|
7
|
-
pyautogen[autobuild]==0.6.0b1
|
|
8
|
-
|
|
9
|
-
[bedrock]
|
|
10
|
-
pyautogen[bedrock]==0.6.0b1
|
|
11
|
-
|
|
12
|
-
[blendsearch]
|
|
13
|
-
pyautogen[blendsearch]==0.6.0b1
|
|
14
|
-
|
|
15
|
-
[captainagent]
|
|
16
|
-
pyautogen[captainagent]==0.6.0b1
|
|
17
|
-
|
|
18
|
-
[cerebras]
|
|
19
|
-
pyautogen[cerebras]==0.6.0b1
|
|
20
|
-
|
|
21
|
-
[cohere]
|
|
22
|
-
pyautogen[cohere]==0.6.0b1
|
|
23
|
-
|
|
24
|
-
[cosmosdb]
|
|
25
|
-
pyautogen[cosmosdb]==0.6.0b1
|
|
26
|
-
|
|
27
|
-
[gemini]
|
|
28
|
-
pyautogen[gemini]==0.6.0b1
|
|
29
|
-
|
|
30
|
-
[graph]
|
|
31
|
-
pyautogen[graph]==0.6.0b1
|
|
32
|
-
|
|
33
|
-
[graph-rag-falkor-db]
|
|
34
|
-
pyautogen[graph-rag-falkor-db]==0.6.0b1
|
|
35
|
-
|
|
36
|
-
[groq]
|
|
37
|
-
pyautogen[groq]==0.6.0b1
|
|
38
|
-
|
|
39
|
-
[interop]
|
|
40
|
-
pyautogen[interop]==0.6.0b1
|
|
41
|
-
|
|
42
|
-
[interop-crewai]
|
|
43
|
-
pyautogen[interop-crewai]==0.6.0b1
|
|
44
|
-
|
|
45
|
-
[interop-langchain]
|
|
46
|
-
pyautogen[interop-langchain]==0.6.0b1
|
|
47
|
-
|
|
48
|
-
[interop-pydantic-ai]
|
|
49
|
-
pyautogen[interop-pydantic-ai]==0.6.0b1
|
|
50
|
-
|
|
51
|
-
[jupyter-executor]
|
|
52
|
-
pyautogen[jupyter-executor]==0.6.0b1
|
|
53
|
-
|
|
54
|
-
[lmm]
|
|
55
|
-
pyautogen[lmm]==0.6.0b1
|
|
56
|
-
|
|
57
|
-
[long-context]
|
|
58
|
-
pyautogen[long-context]==0.6.0b1
|
|
59
|
-
|
|
60
|
-
[mathchat]
|
|
61
|
-
pyautogen[mathchat]==0.6.0b1
|
|
62
|
-
|
|
63
|
-
[mistral]
|
|
64
|
-
pyautogen[mistral]==0.6.0b1
|
|
65
|
-
|
|
66
|
-
[neo4j]
|
|
67
|
-
pyautogen[neo4j]==0.6.0b1
|
|
68
|
-
|
|
69
|
-
[ollama]
|
|
70
|
-
pyautogen[ollama]==0.6.0b1
|
|
71
|
-
|
|
72
|
-
[redis]
|
|
73
|
-
pyautogen[redis]==0.6.0b1
|
|
74
|
-
|
|
75
|
-
[retrievechat]
|
|
76
|
-
pyautogen[retrievechat]==0.6.0b1
|
|
77
|
-
|
|
78
|
-
[retrievechat-mongodb]
|
|
79
|
-
pyautogen[retrievechat-mongodb]==0.6.0b1
|
|
80
|
-
|
|
81
|
-
[retrievechat-pgvector]
|
|
82
|
-
pyautogen[retrievechat-pgvector]==0.6.0b1
|
|
83
|
-
|
|
84
|
-
[retrievechat-qdrant]
|
|
85
|
-
pyautogen[retrievechat-qdrant]==0.6.0b1
|
|
86
|
-
|
|
87
|
-
[teachable]
|
|
88
|
-
pyautogen[teachable]==0.6.0b1
|
|
89
|
-
|
|
90
|
-
[test]
|
|
91
|
-
pyautogen[test]==0.6.0b1
|
|
92
|
-
|
|
93
|
-
[together]
|
|
94
|
-
pyautogen[together]==0.6.0b1
|
|
95
|
-
|
|
96
|
-
[twilio]
|
|
97
|
-
pyautogen[twilio]==0.6.0b1
|
|
98
|
-
|
|
99
|
-
[types]
|
|
100
|
-
pyautogen[types]==0.6.0b1
|
|
101
|
-
|
|
102
|
-
[websockets]
|
|
103
|
-
pyautogen[websockets]==0.6.0b1
|
|
104
|
-
|
|
105
|
-
[websurfer]
|
|
106
|
-
pyautogen[websurfer]==0.6.0b1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|