ag2 0.7.4b1__tar.gz → 0.7.4b2__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ag2
3
- Version: 0.7.4b1
3
+ Version: 0.7.4b2
4
4
  Summary: Alias package for pyautogen
5
5
  Home-page: https://github.com/ag2ai/ag2
6
6
  Author: Chi Wang & Qingyun Wu
@@ -65,7 +65,7 @@ License-File: NOTICE.md
65
65
  ![Pypi Downloads](https://img.shields.io/pypi/dm/pyautogen?label=PyPI%20downloads)
66
66
  [![PyPI version](https://badge.fury.io/py/autogen.svg)](https://badge.fury.io/py/autogen)
67
67
  [![Build](https://github.com/ag2ai/ag2/actions/workflows/python-package.yml/badge.svg)](https://github.com/ag2ai/ag2/actions/workflows/python-package.yml)
68
- ![Python Version](https://img.shields.io/badge/3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)
68
+ ![Python Version](https://img.shields.io/pypi/pyversions/pyautogen?logoColor=blue)
69
69
  [![Discord](https://img.shields.io/discord/1153072414184452236?logo=discord&style=flat)](https://discord.gg/pAbnFJrkgZ)
70
70
  [![X](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40ag2oss)](https://x.com/ag2oss)
71
71
 
@@ -196,7 +196,7 @@ _NOTE_: OAI_CONFIG_LIST_sample lists gpt-4o as the default model. If you use a d
196
196
 
197
197
  ### Option 1. Install and Run AG2 in Docker
198
198
 
199
- Find detailed instructions for users [here](https://docs.ag2.ai/docs/installation/Docker#step-1-install-docker), and for developers [here](https://docs.ag2.ai/docs/contributor-guide/docker).
199
+ Find detailed instructions for users [here](https://docs.ag2.ai/docs/installation/Docker#step-1-install-docker), and for developers [here](https://docs.ag2.ai/docs/contributor-guide/setup-development-environment).
200
200
 
201
201
  ### Option 2. Install AG2 Locally
202
202
 
@@ -275,7 +275,7 @@ Please find more [code examples](https://docs.ag2.ai/docs/Examples#automated-mul
275
275
 
276
276
  ## Enhanced LLM Inferences
277
277
 
278
- AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers [enhanced LLM inference](https://docs.ag2.ai/docs/Use-Cases/enhanced_inference#api-unification) with powerful functionalities like caching, error handling, multi-config inference and templating.
278
+ AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers enhanced LLM inference with powerful functionalities like caching, error handling, multi-config inference and templating.
279
279
 
280
280
  <!-- For example, you can optimize generations by LLM with your own tuning data, success metrics, and budgets.
281
281
 
@@ -3,7 +3,7 @@
3
3
  ![Pypi Downloads](https://img.shields.io/pypi/dm/pyautogen?label=PyPI%20downloads)
4
4
  [![PyPI version](https://badge.fury.io/py/autogen.svg)](https://badge.fury.io/py/autogen)
5
5
  [![Build](https://github.com/ag2ai/ag2/actions/workflows/python-package.yml/badge.svg)](https://github.com/ag2ai/ag2/actions/workflows/python-package.yml)
6
- ![Python Version](https://img.shields.io/badge/3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)
6
+ ![Python Version](https://img.shields.io/pypi/pyversions/pyautogen?logoColor=blue)
7
7
  [![Discord](https://img.shields.io/discord/1153072414184452236?logo=discord&style=flat)](https://discord.gg/pAbnFJrkgZ)
8
8
  [![X](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40ag2oss)](https://x.com/ag2oss)
9
9
 
@@ -134,7 +134,7 @@ _NOTE_: OAI_CONFIG_LIST_sample lists gpt-4o as the default model. If you use a d
134
134
 
135
135
  ### Option 1. Install and Run AG2 in Docker
136
136
 
137
- Find detailed instructions for users [here](https://docs.ag2.ai/docs/installation/Docker#step-1-install-docker), and for developers [here](https://docs.ag2.ai/docs/contributor-guide/docker).
137
+ Find detailed instructions for users [here](https://docs.ag2.ai/docs/installation/Docker#step-1-install-docker), and for developers [here](https://docs.ag2.ai/docs/contributor-guide/setup-development-environment).
138
138
 
139
139
  ### Option 2. Install AG2 Locally
140
140
 
@@ -213,7 +213,7 @@ Please find more [code examples](https://docs.ag2.ai/docs/Examples#automated-mul
213
213
 
214
214
  ## Enhanced LLM Inferences
215
215
 
216
- AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers [enhanced LLM inference](https://docs.ag2.ai/docs/Use-Cases/enhanced_inference#api-unification) with powerful functionalities like caching, error handling, multi-config inference and templating.
216
+ AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers enhanced LLM inference with powerful functionalities like caching, error handling, multi-config inference and templating.
217
217
 
218
218
  <!-- For example, you can optimize generations by LLM with your own tuning data, success metrics, and budgets.
219
219
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ag2
3
- Version: 0.7.4b1
3
+ Version: 0.7.4b2
4
4
  Summary: Alias package for pyautogen
5
5
  Home-page: https://github.com/ag2ai/ag2
6
6
  Author: Chi Wang & Qingyun Wu
@@ -65,7 +65,7 @@ License-File: NOTICE.md
65
65
  ![Pypi Downloads](https://img.shields.io/pypi/dm/pyautogen?label=PyPI%20downloads)
66
66
  [![PyPI version](https://badge.fury.io/py/autogen.svg)](https://badge.fury.io/py/autogen)
67
67
  [![Build](https://github.com/ag2ai/ag2/actions/workflows/python-package.yml/badge.svg)](https://github.com/ag2ai/ag2/actions/workflows/python-package.yml)
68
- ![Python Version](https://img.shields.io/badge/3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)
68
+ ![Python Version](https://img.shields.io/pypi/pyversions/pyautogen?logoColor=blue)
69
69
  [![Discord](https://img.shields.io/discord/1153072414184452236?logo=discord&style=flat)](https://discord.gg/pAbnFJrkgZ)
70
70
  [![X](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40ag2oss)](https://x.com/ag2oss)
71
71
 
@@ -196,7 +196,7 @@ _NOTE_: OAI_CONFIG_LIST_sample lists gpt-4o as the default model. If you use a d
196
196
 
197
197
  ### Option 1. Install and Run AG2 in Docker
198
198
 
199
- Find detailed instructions for users [here](https://docs.ag2.ai/docs/installation/Docker#step-1-install-docker), and for developers [here](https://docs.ag2.ai/docs/contributor-guide/docker).
199
+ Find detailed instructions for users [here](https://docs.ag2.ai/docs/installation/Docker#step-1-install-docker), and for developers [here](https://docs.ag2.ai/docs/contributor-guide/setup-development-environment).
200
200
 
201
201
  ### Option 2. Install AG2 Locally
202
202
 
@@ -275,7 +275,7 @@ Please find more [code examples](https://docs.ag2.ai/docs/Examples#automated-mul
275
275
 
276
276
  ## Enhanced LLM Inferences
277
277
 
278
- AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers [enhanced LLM inference](https://docs.ag2.ai/docs/Use-Cases/enhanced_inference#api-unification) with powerful functionalities like caching, error handling, multi-config inference and templating.
278
+ AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers enhanced LLM inference with powerful functionalities like caching, error handling, multi-config inference and templating.
279
279
 
280
280
  <!-- For example, you can optimize generations by LLM with your own tuning data, success metrics, and budgets.
281
281
 
@@ -0,0 +1,136 @@
1
+ pyautogen==0.7.4b2
2
+
3
+ [anthropic]
4
+ pyautogen[anthropic]==0.7.4b2
5
+
6
+ [autobuild]
7
+ pyautogen[autobuild]==0.7.4b2
8
+
9
+ [bedrock]
10
+ pyautogen[bedrock]==0.7.4b2
11
+
12
+ [blendsearch]
13
+ pyautogen[blendsearch]==0.7.4b2
14
+
15
+ [browser-use]
16
+ pyautogen[browser-use]==0.7.4b2
17
+
18
+ [captainagent]
19
+ pyautogen[captainagent]==0.7.4b2
20
+
21
+ [cerebras]
22
+ pyautogen[cerebras]==0.7.4b2
23
+
24
+ [cohere]
25
+ pyautogen[cohere]==0.7.4b2
26
+
27
+ [commsagent-discord]
28
+ pyautogen[commsagent-discord]==0.7.4b2
29
+
30
+ [commsagent-slack]
31
+ pyautogen[commsagent-slack]==0.7.4b2
32
+
33
+ [commsagent-telegram]
34
+ pyautogen[commsagent-telegram]==0.7.4b2
35
+
36
+ [cosmosdb]
37
+ pyautogen[cosmosdb]==0.7.4b2
38
+
39
+ [crawl4ai]
40
+ pyautogen[crawl4ai]==0.7.4b2
41
+
42
+ [dev]
43
+ pyautogen[dev]==0.7.4b2
44
+
45
+ [docs]
46
+ pyautogen[docs]==0.7.4b2
47
+
48
+ [flaml]
49
+ pyautogen[flaml]==0.7.4b2
50
+
51
+ [gemini]
52
+ pyautogen[gemini]==0.7.4b2
53
+
54
+ [graph]
55
+ pyautogen[graph]==0.7.4b2
56
+
57
+ [graph-rag-falkor-db]
58
+ pyautogen[graph-rag-falkor-db]==0.7.4b2
59
+
60
+ [groq]
61
+ pyautogen[groq]==0.7.4b2
62
+
63
+ [interop]
64
+ pyautogen[interop]==0.7.4b2
65
+
66
+ [interop-crewai]
67
+ pyautogen[interop-crewai]==0.7.4b2
68
+
69
+ [interop-langchain]
70
+ pyautogen[interop-langchain]==0.7.4b2
71
+
72
+ [interop-pydantic-ai]
73
+ pyautogen[interop-pydantic-ai]==0.7.4b2
74
+
75
+ [jupyter-executor]
76
+ pyautogen[jupyter-executor]==0.7.4b2
77
+
78
+ [lint]
79
+ pyautogen[lint]==0.7.4b2
80
+
81
+ [lmm]
82
+ pyautogen[lmm]==0.7.4b2
83
+
84
+ [long-context]
85
+ pyautogen[long-context]==0.7.4b2
86
+
87
+ [mathchat]
88
+ pyautogen[mathchat]==0.7.4b2
89
+
90
+ [mistral]
91
+ pyautogen[mistral]==0.7.4b2
92
+
93
+ [neo4j]
94
+ pyautogen[neo4j]==0.7.4b2
95
+
96
+ [ollama]
97
+ pyautogen[ollama]==0.7.4b2
98
+
99
+ [rag]
100
+ pyautogen[rag]==0.7.4b2
101
+
102
+ [redis]
103
+ pyautogen[redis]==0.7.4b2
104
+
105
+ [retrievechat]
106
+ pyautogen[retrievechat]==0.7.4b2
107
+
108
+ [retrievechat-mongodb]
109
+ pyautogen[retrievechat-mongodb]==0.7.4b2
110
+
111
+ [retrievechat-pgvector]
112
+ pyautogen[retrievechat-pgvector]==0.7.4b2
113
+
114
+ [retrievechat-qdrant]
115
+ pyautogen[retrievechat-qdrant]==0.7.4b2
116
+
117
+ [teachable]
118
+ pyautogen[teachable]==0.7.4b2
119
+
120
+ [test]
121
+ pyautogen[test]==0.7.4b2
122
+
123
+ [together]
124
+ pyautogen[together]==0.7.4b2
125
+
126
+ [twilio]
127
+ pyautogen[twilio]==0.7.4b2
128
+
129
+ [types]
130
+ pyautogen[types]==0.7.4b2
131
+
132
+ [websockets]
133
+ pyautogen[websockets]==0.7.4b2
134
+
135
+ [websurfer]
136
+ pyautogen[websurfer]==0.7.4b2
@@ -114,13 +114,15 @@ retrievechat-qdrant = [
114
114
 
115
115
  graph-rag-falkor-db = [
116
116
  "graphrag_sdk==0.6.0",
117
- "falkordb>=1.0.10"
117
+ "falkordb>=1.0.10",
118
118
  ]
119
119
 
120
120
  rag = [
121
121
  "docling>=2.15.1,<3",
122
122
  "selenium>=4.28.1,<5",
123
123
  "webdriver-manager==4.0.2",
124
+ "chromadb>=0.5,<1",
125
+ "llama-index>=0.12,<1",
124
126
  ]
125
127
 
126
128
 
@@ -154,7 +156,7 @@ interop-crewai = [
154
156
  "litellm<1.57.5; sys_platform=='win32'",
155
157
  ]
156
158
  interop-langchain = ["langchain-community>=0.3.12,<1"]
157
- interop-pydantic-ai = ["pydantic-ai==0.0.22"]
159
+ interop-pydantic-ai = ["pydantic-ai==0.0.23"]
158
160
  interop =[
159
161
  "pyautogen[interop-crewai, interop-langchain, interop-pydantic-ai]",
160
162
  ]
@@ -174,6 +176,7 @@ gemini = [
174
176
  "google-auth",
175
177
  "pillow",
176
178
  "jsonschema",
179
+ "jsonref"
177
180
  ]
178
181
  together = ["together>=1.2"]
179
182
  websurfer = ["beautifulsoup4", "markdownify", "pdfminer.six", "pathvalidate"]
@@ -203,6 +206,7 @@ test = [
203
206
  "pytest-cov==6.0.0",
204
207
  "pytest-asyncio==0.25.3",
205
208
  "pytest==8.3.4",
209
+ "mock==5.1.0",
206
210
  "pandas==2.2.3",
207
211
  "fastapi==0.115.8",
208
212
  ]
@@ -222,7 +226,7 @@ types = [
222
226
  ]
223
227
 
224
228
  lint = [
225
- "ruff==0.9.4",
229
+ "ruff==0.9.5",
226
230
  "codespell==2.4.1",
227
231
  "pyupgrade-directories==0.3.0",
228
232
  ]
@@ -263,7 +267,7 @@ exclude = ["test", "notebook"]
263
267
 
264
268
 
265
269
  [tool.pytest.ini_options]
266
- addopts = '--cov=. --cov-append --cov-branch --cov-report=xml -m "not conda"'
270
+ addopts = '--cov=autogen --cov-append --cov-branch --cov-report=xml -m "not conda"'
267
271
  testpaths = [
268
272
  "test",
269
273
  ]
@@ -318,6 +322,8 @@ exclude = [
318
322
  "setup_*.py",
319
323
  ]
320
324
 
325
+ preview = true
326
+
321
327
  [tool.ruff.lint]
322
328
  # Enable Pyflakes `E` and `F` codes by default.
323
329
  select = [
@@ -421,3 +427,8 @@ warn_unused_ignores = false
421
427
  disallow_incomplete_defs = true
422
428
  disallow_untyped_decorators = true
423
429
  disallow_any_unimported = true
430
+
431
+ [tool.codespell]
432
+ skip = "*.js,*.map,*.pdf,*.po,*.ts,*.json,*.svg,./notebook,./website/node_modules,.notebook/agentchat_microsoft_fabric.ipynb"
433
+ quiet-level = 3
434
+ ignore-words-list = "ans,linar,nam,tread,ot,assertIn,dependin,socio-economic,ege,leapYear,fO,bu,te,ROUGE,ser,doubleClick,CNa,wOh,Hart,Empress,Chage,mane,digitalize"
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Portions derived from https://github.com/microsoft/autogen are under the MIT License.
6
6
  # SPDX-License-Identifier: MIT
7
- #!/usr/bin/env python3 -m pytest
7
+ # !/usr/bin/env python3 -m pytest
8
8
 
9
9
  import hashlib
10
10
  import math
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Portions derived from https://github.com/microsoft/autogen are under the MIT License.
6
6
  # SPDX-License-Identifier: MIT
7
- #!/usr/bin/env python3 -m pytest
7
+ # !/usr/bin/env python3 -m pytest
8
8
 
9
9
  import os
10
10
  import tempfile
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Portions derived from https://github.com/microsoft/autogen are under the MIT License.
6
6
  # SPDX-License-Identifier: MIT
7
- #!/usr/bin/env python3 -m pytest
7
+ # !/usr/bin/env python3 -m pytest
8
8
 
9
9
  import os
10
10
  import sys
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Portions derived from https://github.com/microsoft/autogen are under the MIT License.
6
6
  # SPDX-License-Identifier: MIT
7
- #!/usr/bin/env python3 -m pytest
7
+ # !/usr/bin/env python3 -m pytest
8
8
 
9
9
  """Unit test for retrieve_utils.py"""
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Portions derived from https://github.com/microsoft/autogen are under the MIT License.
6
6
  # SPDX-License-Identifier: MIT
7
- #!/usr/bin/env python3 -m pytest
7
+ # !/usr/bin/env python3 -m pytest
8
8
 
9
9
  import pytest
10
10
 
@@ -1,136 +0,0 @@
1
- pyautogen==0.7.4b1
2
-
3
- [anthropic]
4
- pyautogen[anthropic]==0.7.4b1
5
-
6
- [autobuild]
7
- pyautogen[autobuild]==0.7.4b1
8
-
9
- [bedrock]
10
- pyautogen[bedrock]==0.7.4b1
11
-
12
- [blendsearch]
13
- pyautogen[blendsearch]==0.7.4b1
14
-
15
- [browser-use]
16
- pyautogen[browser-use]==0.7.4b1
17
-
18
- [captainagent]
19
- pyautogen[captainagent]==0.7.4b1
20
-
21
- [cerebras]
22
- pyautogen[cerebras]==0.7.4b1
23
-
24
- [cohere]
25
- pyautogen[cohere]==0.7.4b1
26
-
27
- [commsagent-discord]
28
- pyautogen[commsagent-discord]==0.7.4b1
29
-
30
- [commsagent-slack]
31
- pyautogen[commsagent-slack]==0.7.4b1
32
-
33
- [commsagent-telegram]
34
- pyautogen[commsagent-telegram]==0.7.4b1
35
-
36
- [cosmosdb]
37
- pyautogen[cosmosdb]==0.7.4b1
38
-
39
- [crawl4ai]
40
- pyautogen[crawl4ai]==0.7.4b1
41
-
42
- [dev]
43
- pyautogen[dev]==0.7.4b1
44
-
45
- [docs]
46
- pyautogen[docs]==0.7.4b1
47
-
48
- [flaml]
49
- pyautogen[flaml]==0.7.4b1
50
-
51
- [gemini]
52
- pyautogen[gemini]==0.7.4b1
53
-
54
- [graph]
55
- pyautogen[graph]==0.7.4b1
56
-
57
- [graph-rag-falkor-db]
58
- pyautogen[graph-rag-falkor-db]==0.7.4b1
59
-
60
- [groq]
61
- pyautogen[groq]==0.7.4b1
62
-
63
- [interop]
64
- pyautogen[interop]==0.7.4b1
65
-
66
- [interop-crewai]
67
- pyautogen[interop-crewai]==0.7.4b1
68
-
69
- [interop-langchain]
70
- pyautogen[interop-langchain]==0.7.4b1
71
-
72
- [interop-pydantic-ai]
73
- pyautogen[interop-pydantic-ai]==0.7.4b1
74
-
75
- [jupyter-executor]
76
- pyautogen[jupyter-executor]==0.7.4b1
77
-
78
- [lint]
79
- pyautogen[lint]==0.7.4b1
80
-
81
- [lmm]
82
- pyautogen[lmm]==0.7.4b1
83
-
84
- [long-context]
85
- pyautogen[long-context]==0.7.4b1
86
-
87
- [mathchat]
88
- pyautogen[mathchat]==0.7.4b1
89
-
90
- [mistral]
91
- pyautogen[mistral]==0.7.4b1
92
-
93
- [neo4j]
94
- pyautogen[neo4j]==0.7.4b1
95
-
96
- [ollama]
97
- pyautogen[ollama]==0.7.4b1
98
-
99
- [rag]
100
- pyautogen[rag]==0.7.4b1
101
-
102
- [redis]
103
- pyautogen[redis]==0.7.4b1
104
-
105
- [retrievechat]
106
- pyautogen[retrievechat]==0.7.4b1
107
-
108
- [retrievechat-mongodb]
109
- pyautogen[retrievechat-mongodb]==0.7.4b1
110
-
111
- [retrievechat-pgvector]
112
- pyautogen[retrievechat-pgvector]==0.7.4b1
113
-
114
- [retrievechat-qdrant]
115
- pyautogen[retrievechat-qdrant]==0.7.4b1
116
-
117
- [teachable]
118
- pyautogen[teachable]==0.7.4b1
119
-
120
- [test]
121
- pyautogen[test]==0.7.4b1
122
-
123
- [together]
124
- pyautogen[together]==0.7.4b1
125
-
126
- [twilio]
127
- pyautogen[twilio]==0.7.4b1
128
-
129
- [types]
130
- pyautogen[types]==0.7.4b1
131
-
132
- [websockets]
133
- pyautogen[websockets]==0.7.4b1
134
-
135
- [websurfer]
136
- pyautogen[websurfer]==0.7.4b1
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