ag2 0.8.0__tar.gz → 0.8.1__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.8.0/ag2.egg-info → ag2-0.8.1}/PKG-INFO +1 -1
- {ag2-0.8.0 → ag2-0.8.1/ag2.egg-info}/PKG-INFO +1 -1
- ag2-0.8.1/ag2.egg-info/requires.txt +151 -0
- {ag2-0.8.0 → ag2-0.8.1}/pyproject.toml +8 -2
- {ag2-0.8.0 → ag2-0.8.1}/test/test_code_utils.py +0 -33
- ag2-0.8.0/ag2.egg-info/requires.txt +0 -151
- {ag2-0.8.0 → ag2-0.8.1}/LICENSE +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/NOTICE.md +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/README.md +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/ag2.egg-info/SOURCES.txt +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/ag2.egg-info/dependency_links.txt +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/ag2.egg-info/top_level.txt +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/setup.cfg +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/setup_ag2.py +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/test/test_browser_utils.py +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/test/test_conftest.py +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/test/test_graph_utils.py +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/test/test_import.py +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/test/test_import_utils.py +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/test/test_logging.py +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/test/test_notebook.py +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/test/test_retrieve_utils.py +0 -0
- {ag2-0.8.0 → ag2-0.8.1}/test/test_token_count.py +0 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
pyautogen==0.8.1
|
|
2
|
+
|
|
3
|
+
[anthropic]
|
|
4
|
+
pyautogen[anthropic]==0.8.1
|
|
5
|
+
|
|
6
|
+
[autobuild]
|
|
7
|
+
pyautogen[autobuild]==0.8.1
|
|
8
|
+
|
|
9
|
+
[bedrock]
|
|
10
|
+
pyautogen[bedrock]==0.8.1
|
|
11
|
+
|
|
12
|
+
[blendsearch]
|
|
13
|
+
pyautogen[blendsearch]==0.8.1
|
|
14
|
+
|
|
15
|
+
[browser-use]
|
|
16
|
+
pyautogen[browser-use]==0.8.1
|
|
17
|
+
|
|
18
|
+
[captainagent]
|
|
19
|
+
pyautogen[captainagent]==0.8.1
|
|
20
|
+
|
|
21
|
+
[cerebras]
|
|
22
|
+
pyautogen[cerebras]==0.8.1
|
|
23
|
+
|
|
24
|
+
[cohere]
|
|
25
|
+
pyautogen[cohere]==0.8.1
|
|
26
|
+
|
|
27
|
+
[commsagent-discord]
|
|
28
|
+
pyautogen[commsagent-discord]==0.8.1
|
|
29
|
+
|
|
30
|
+
[commsagent-slack]
|
|
31
|
+
pyautogen[commsagent-slack]==0.8.1
|
|
32
|
+
|
|
33
|
+
[commsagent-telegram]
|
|
34
|
+
pyautogen[commsagent-telegram]==0.8.1
|
|
35
|
+
|
|
36
|
+
[cosmosdb]
|
|
37
|
+
pyautogen[cosmosdb]==0.8.1
|
|
38
|
+
|
|
39
|
+
[crawl4ai]
|
|
40
|
+
pyautogen[crawl4ai]==0.8.1
|
|
41
|
+
|
|
42
|
+
[deepseek]
|
|
43
|
+
pyautogen[deepseek]==0.8.1
|
|
44
|
+
|
|
45
|
+
[dev]
|
|
46
|
+
pyautogen[dev]==0.8.1
|
|
47
|
+
|
|
48
|
+
[docs]
|
|
49
|
+
pyautogen[docs]==0.8.1
|
|
50
|
+
|
|
51
|
+
[flaml]
|
|
52
|
+
pyautogen[flaml]==0.8.1
|
|
53
|
+
|
|
54
|
+
[gemini]
|
|
55
|
+
pyautogen[gemini]==0.8.1
|
|
56
|
+
|
|
57
|
+
[gemini-realtime]
|
|
58
|
+
pyautogen[gemini-realtime]==0.8.1
|
|
59
|
+
|
|
60
|
+
[graph]
|
|
61
|
+
pyautogen[graph]==0.8.1
|
|
62
|
+
|
|
63
|
+
[graph-rag-falkor-db]
|
|
64
|
+
pyautogen[graph-rag-falkor-db]==0.8.1
|
|
65
|
+
|
|
66
|
+
[groq]
|
|
67
|
+
pyautogen[groq]==0.8.1
|
|
68
|
+
|
|
69
|
+
[interop]
|
|
70
|
+
pyautogen[interop]==0.8.1
|
|
71
|
+
|
|
72
|
+
[interop-crewai]
|
|
73
|
+
pyautogen[interop-crewai]==0.8.1
|
|
74
|
+
|
|
75
|
+
[interop-langchain]
|
|
76
|
+
pyautogen[interop-langchain]==0.8.1
|
|
77
|
+
|
|
78
|
+
[interop-pydantic-ai]
|
|
79
|
+
pyautogen[interop-pydantic-ai]==0.8.1
|
|
80
|
+
|
|
81
|
+
[jupyter-executor]
|
|
82
|
+
pyautogen[jupyter-executor]==0.8.1
|
|
83
|
+
|
|
84
|
+
[lint]
|
|
85
|
+
pyautogen[lint]==0.8.1
|
|
86
|
+
|
|
87
|
+
[lmm]
|
|
88
|
+
pyautogen[lmm]==0.8.1
|
|
89
|
+
|
|
90
|
+
[long-context]
|
|
91
|
+
pyautogen[long-context]==0.8.1
|
|
92
|
+
|
|
93
|
+
[mathchat]
|
|
94
|
+
pyautogen[mathchat]==0.8.1
|
|
95
|
+
|
|
96
|
+
[mistral]
|
|
97
|
+
pyautogen[mistral]==0.8.1
|
|
98
|
+
|
|
99
|
+
[neo4j]
|
|
100
|
+
pyautogen[neo4j]==0.8.1
|
|
101
|
+
|
|
102
|
+
[ollama]
|
|
103
|
+
pyautogen[ollama]==0.8.1
|
|
104
|
+
|
|
105
|
+
[openai]
|
|
106
|
+
pyautogen[openai]==0.8.1
|
|
107
|
+
|
|
108
|
+
[openai-realtime]
|
|
109
|
+
pyautogen[openai-realtime]==0.8.1
|
|
110
|
+
|
|
111
|
+
[rag]
|
|
112
|
+
pyautogen[rag]==0.8.1
|
|
113
|
+
|
|
114
|
+
[redis]
|
|
115
|
+
pyautogen[redis]==0.8.1
|
|
116
|
+
|
|
117
|
+
[retrievechat]
|
|
118
|
+
pyautogen[retrievechat]==0.8.1
|
|
119
|
+
|
|
120
|
+
[retrievechat-couchbase]
|
|
121
|
+
pyautogen[retrievechat-couchbase]==0.8.1
|
|
122
|
+
|
|
123
|
+
[retrievechat-mongodb]
|
|
124
|
+
pyautogen[retrievechat-mongodb]==0.8.1
|
|
125
|
+
|
|
126
|
+
[retrievechat-pgvector]
|
|
127
|
+
pyautogen[retrievechat-pgvector]==0.8.1
|
|
128
|
+
|
|
129
|
+
[retrievechat-qdrant]
|
|
130
|
+
pyautogen[retrievechat-qdrant]==0.8.1
|
|
131
|
+
|
|
132
|
+
[teachable]
|
|
133
|
+
pyautogen[teachable]==0.8.1
|
|
134
|
+
|
|
135
|
+
[test]
|
|
136
|
+
pyautogen[test]==0.8.1
|
|
137
|
+
|
|
138
|
+
[together]
|
|
139
|
+
pyautogen[together]==0.8.1
|
|
140
|
+
|
|
141
|
+
[twilio]
|
|
142
|
+
pyautogen[twilio]==0.8.1
|
|
143
|
+
|
|
144
|
+
[types]
|
|
145
|
+
pyautogen[types]==0.8.1
|
|
146
|
+
|
|
147
|
+
[websockets]
|
|
148
|
+
pyautogen[websockets]==0.8.1
|
|
149
|
+
|
|
150
|
+
[websurfer]
|
|
151
|
+
pyautogen[websurfer]==0.8.1
|
|
@@ -139,6 +139,9 @@ rag = [
|
|
|
139
139
|
"chromadb>=0.5,<1",
|
|
140
140
|
"llama-index>=0.12,<1",
|
|
141
141
|
"llama-index-vector-stores-chroma==0.4.1",
|
|
142
|
+
"llama-index-vector-stores-mongodb==0.6.0",
|
|
143
|
+
"llama-index-embeddings-huggingface==0.5.2",
|
|
144
|
+
"llama-index-llms-langchain==0.6.0",
|
|
142
145
|
"requests>=2.32.3,<3",
|
|
143
146
|
]
|
|
144
147
|
|
|
@@ -189,7 +192,7 @@ lmm = ["replicate", "pillow"]
|
|
|
189
192
|
graph = ["networkx", "matplotlib"]
|
|
190
193
|
gemini = [
|
|
191
194
|
"google-api-core",
|
|
192
|
-
"google-genai>=1.2.0
|
|
195
|
+
"google-genai>=1.2.0",
|
|
193
196
|
"google-cloud-aiplatform",
|
|
194
197
|
"google-auth",
|
|
195
198
|
"pillow",
|
|
@@ -247,6 +250,7 @@ docs = [
|
|
|
247
250
|
"mkdocs-minify-plugin==0.8.0",
|
|
248
251
|
"mkdocs-macros-plugin==1.3.7", # includes with variables
|
|
249
252
|
"mkdocs-glightbox==0.4.0", # img zoom
|
|
253
|
+
"mkdocs-ezlinks-plugin==0.1.14", # converts abs links to rel links
|
|
250
254
|
"pillow", # required for mkdocs-glightbo
|
|
251
255
|
"cairosvg", # required for mkdocs-glightbo
|
|
252
256
|
"pdoc3==0.11.5",
|
|
@@ -301,7 +305,6 @@ exclude = ["test", "notebook"]
|
|
|
301
305
|
"autogen" = "autogen"
|
|
302
306
|
"autogen/agentchat/contrib/captainagent/tools" = "autogen/agentchat/contrib/captainagent/tools"
|
|
303
307
|
|
|
304
|
-
|
|
305
308
|
[tool.pytest.ini_options]
|
|
306
309
|
addopts = '--cov=autogen --cov-append --cov-branch --cov-report=xml -m "not conda"'
|
|
307
310
|
testpaths = [
|
|
@@ -399,6 +402,8 @@ select = [
|
|
|
399
402
|
# "UP", # pyupgrade https://docs.astral.sh/ruff/rules/#pydocstyle-d
|
|
400
403
|
]
|
|
401
404
|
|
|
405
|
+
extend-select = ["D417"]
|
|
406
|
+
|
|
402
407
|
ignore = ["E501", "F403", "C901",
|
|
403
408
|
"E402",
|
|
404
409
|
"E721",
|
|
@@ -441,6 +446,7 @@ files = [
|
|
|
441
446
|
"autogen/oai/oai_models",
|
|
442
447
|
"autogen/oai/openai_utils.py",
|
|
443
448
|
"autogen/tools",
|
|
449
|
+
"autogen/_website",
|
|
444
450
|
"website/*.py",
|
|
445
451
|
"test/agentchat/contrib/rag",
|
|
446
452
|
"test/agentchat/contrib/graph_rag",
|
|
@@ -23,15 +23,10 @@ from autogen.code_utils import (
|
|
|
23
23
|
execute_code,
|
|
24
24
|
extract_code,
|
|
25
25
|
get_powershell_command,
|
|
26
|
-
improve_code,
|
|
27
|
-
improve_function,
|
|
28
26
|
in_docker_container,
|
|
29
27
|
infer_lang,
|
|
30
28
|
is_docker_running,
|
|
31
29
|
)
|
|
32
|
-
from autogen.import_utils import run_for_optional_imports
|
|
33
|
-
|
|
34
|
-
from .conftest import Credentials
|
|
35
30
|
|
|
36
31
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
37
32
|
|
|
@@ -386,34 +381,6 @@ def test_create_virtual_env_with_extra_args():
|
|
|
386
381
|
assert venv_context.env_name == os.path.split(temp_dir)[1]
|
|
387
382
|
|
|
388
383
|
|
|
389
|
-
@run_for_optional_imports(["openai"], "openai")
|
|
390
|
-
def _test_improve(credentials_all: Credentials):
|
|
391
|
-
config_list = credentials_all.config_list
|
|
392
|
-
improved, _ = improve_function(
|
|
393
|
-
"autogen/math_utils.py",
|
|
394
|
-
"solve_problem",
|
|
395
|
-
"Solve math problems accurately, by avoiding calculation errors and reduce reasoning errors.",
|
|
396
|
-
config_list=config_list,
|
|
397
|
-
)
|
|
398
|
-
with open(f"{here}/math_utils.py.improved", "w") as f:
|
|
399
|
-
f.write(improved)
|
|
400
|
-
suggestion, _ = improve_code(
|
|
401
|
-
["autogen/code_utils.py", "autogen/math_utils.py"],
|
|
402
|
-
"leverage generative AI smartly and cost-effectively",
|
|
403
|
-
config_list=config_list,
|
|
404
|
-
)
|
|
405
|
-
print(suggestion)
|
|
406
|
-
improvement, cost = improve_code(
|
|
407
|
-
["autogen/code_utils.py", "autogen/math_utils.py"],
|
|
408
|
-
"leverage generative AI smartly and cost-effectively",
|
|
409
|
-
suggest_only=False,
|
|
410
|
-
config_list=config_list,
|
|
411
|
-
)
|
|
412
|
-
print(cost)
|
|
413
|
-
with open(f"{here}/suggested_improvement.txt", "w") as f:
|
|
414
|
-
f.write(improvement)
|
|
415
|
-
|
|
416
|
-
|
|
417
384
|
class TestContentStr:
|
|
418
385
|
def test_string_content(self):
|
|
419
386
|
assert content_str("simple string") == "simple string"
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
pyautogen==0.8.0
|
|
2
|
-
|
|
3
|
-
[anthropic]
|
|
4
|
-
pyautogen[anthropic]==0.8.0
|
|
5
|
-
|
|
6
|
-
[autobuild]
|
|
7
|
-
pyautogen[autobuild]==0.8.0
|
|
8
|
-
|
|
9
|
-
[bedrock]
|
|
10
|
-
pyautogen[bedrock]==0.8.0
|
|
11
|
-
|
|
12
|
-
[blendsearch]
|
|
13
|
-
pyautogen[blendsearch]==0.8.0
|
|
14
|
-
|
|
15
|
-
[browser-use]
|
|
16
|
-
pyautogen[browser-use]==0.8.0
|
|
17
|
-
|
|
18
|
-
[captainagent]
|
|
19
|
-
pyautogen[captainagent]==0.8.0
|
|
20
|
-
|
|
21
|
-
[cerebras]
|
|
22
|
-
pyautogen[cerebras]==0.8.0
|
|
23
|
-
|
|
24
|
-
[cohere]
|
|
25
|
-
pyautogen[cohere]==0.8.0
|
|
26
|
-
|
|
27
|
-
[commsagent-discord]
|
|
28
|
-
pyautogen[commsagent-discord]==0.8.0
|
|
29
|
-
|
|
30
|
-
[commsagent-slack]
|
|
31
|
-
pyautogen[commsagent-slack]==0.8.0
|
|
32
|
-
|
|
33
|
-
[commsagent-telegram]
|
|
34
|
-
pyautogen[commsagent-telegram]==0.8.0
|
|
35
|
-
|
|
36
|
-
[cosmosdb]
|
|
37
|
-
pyautogen[cosmosdb]==0.8.0
|
|
38
|
-
|
|
39
|
-
[crawl4ai]
|
|
40
|
-
pyautogen[crawl4ai]==0.8.0
|
|
41
|
-
|
|
42
|
-
[deepseek]
|
|
43
|
-
pyautogen[deepseek]==0.8.0
|
|
44
|
-
|
|
45
|
-
[dev]
|
|
46
|
-
pyautogen[dev]==0.8.0
|
|
47
|
-
|
|
48
|
-
[docs]
|
|
49
|
-
pyautogen[docs]==0.8.0
|
|
50
|
-
|
|
51
|
-
[flaml]
|
|
52
|
-
pyautogen[flaml]==0.8.0
|
|
53
|
-
|
|
54
|
-
[gemini]
|
|
55
|
-
pyautogen[gemini]==0.8.0
|
|
56
|
-
|
|
57
|
-
[gemini-realtime]
|
|
58
|
-
pyautogen[gemini-realtime]==0.8.0
|
|
59
|
-
|
|
60
|
-
[graph]
|
|
61
|
-
pyautogen[graph]==0.8.0
|
|
62
|
-
|
|
63
|
-
[graph-rag-falkor-db]
|
|
64
|
-
pyautogen[graph-rag-falkor-db]==0.8.0
|
|
65
|
-
|
|
66
|
-
[groq]
|
|
67
|
-
pyautogen[groq]==0.8.0
|
|
68
|
-
|
|
69
|
-
[interop]
|
|
70
|
-
pyautogen[interop]==0.8.0
|
|
71
|
-
|
|
72
|
-
[interop-crewai]
|
|
73
|
-
pyautogen[interop-crewai]==0.8.0
|
|
74
|
-
|
|
75
|
-
[interop-langchain]
|
|
76
|
-
pyautogen[interop-langchain]==0.8.0
|
|
77
|
-
|
|
78
|
-
[interop-pydantic-ai]
|
|
79
|
-
pyautogen[interop-pydantic-ai]==0.8.0
|
|
80
|
-
|
|
81
|
-
[jupyter-executor]
|
|
82
|
-
pyautogen[jupyter-executor]==0.8.0
|
|
83
|
-
|
|
84
|
-
[lint]
|
|
85
|
-
pyautogen[lint]==0.8.0
|
|
86
|
-
|
|
87
|
-
[lmm]
|
|
88
|
-
pyautogen[lmm]==0.8.0
|
|
89
|
-
|
|
90
|
-
[long-context]
|
|
91
|
-
pyautogen[long-context]==0.8.0
|
|
92
|
-
|
|
93
|
-
[mathchat]
|
|
94
|
-
pyautogen[mathchat]==0.8.0
|
|
95
|
-
|
|
96
|
-
[mistral]
|
|
97
|
-
pyautogen[mistral]==0.8.0
|
|
98
|
-
|
|
99
|
-
[neo4j]
|
|
100
|
-
pyautogen[neo4j]==0.8.0
|
|
101
|
-
|
|
102
|
-
[ollama]
|
|
103
|
-
pyautogen[ollama]==0.8.0
|
|
104
|
-
|
|
105
|
-
[openai]
|
|
106
|
-
pyautogen[openai]==0.8.0
|
|
107
|
-
|
|
108
|
-
[openai-realtime]
|
|
109
|
-
pyautogen[openai-realtime]==0.8.0
|
|
110
|
-
|
|
111
|
-
[rag]
|
|
112
|
-
pyautogen[rag]==0.8.0
|
|
113
|
-
|
|
114
|
-
[redis]
|
|
115
|
-
pyautogen[redis]==0.8.0
|
|
116
|
-
|
|
117
|
-
[retrievechat]
|
|
118
|
-
pyautogen[retrievechat]==0.8.0
|
|
119
|
-
|
|
120
|
-
[retrievechat-couchbase]
|
|
121
|
-
pyautogen[retrievechat-couchbase]==0.8.0
|
|
122
|
-
|
|
123
|
-
[retrievechat-mongodb]
|
|
124
|
-
pyautogen[retrievechat-mongodb]==0.8.0
|
|
125
|
-
|
|
126
|
-
[retrievechat-pgvector]
|
|
127
|
-
pyautogen[retrievechat-pgvector]==0.8.0
|
|
128
|
-
|
|
129
|
-
[retrievechat-qdrant]
|
|
130
|
-
pyautogen[retrievechat-qdrant]==0.8.0
|
|
131
|
-
|
|
132
|
-
[teachable]
|
|
133
|
-
pyautogen[teachable]==0.8.0
|
|
134
|
-
|
|
135
|
-
[test]
|
|
136
|
-
pyautogen[test]==0.8.0
|
|
137
|
-
|
|
138
|
-
[together]
|
|
139
|
-
pyautogen[together]==0.8.0
|
|
140
|
-
|
|
141
|
-
[twilio]
|
|
142
|
-
pyautogen[twilio]==0.8.0
|
|
143
|
-
|
|
144
|
-
[types]
|
|
145
|
-
pyautogen[types]==0.8.0
|
|
146
|
-
|
|
147
|
-
[websockets]
|
|
148
|
-
pyautogen[websockets]==0.8.0
|
|
149
|
-
|
|
150
|
-
[websurfer]
|
|
151
|
-
pyautogen[websurfer]==0.8.0
|
{ag2-0.8.0 → ag2-0.8.1}/LICENSE
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|