euriai 1.0.6__py3-none-any.whl → 1.0.7__py3-none-any.whl
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.
- euriai/__init__.py +1 -1
- euriai/autogen.py +21 -1
- {euriai-1.0.6.dist-info → euriai-1.0.7.dist-info}/METADATA +1 -1
- {euriai-1.0.6.dist-info → euriai-1.0.7.dist-info}/RECORD +7 -7
- {euriai-1.0.6.dist-info → euriai-1.0.7.dist-info}/WHEEL +0 -0
- {euriai-1.0.6.dist-info → euriai-1.0.7.dist-info}/entry_points.txt +0 -0
- {euriai-1.0.6.dist-info → euriai-1.0.7.dist-info}/top_level.txt +0 -0
euriai/__init__.py
CHANGED
euriai/autogen.py
CHANGED
@@ -197,7 +197,7 @@ class EuriaiAutoGen:
|
|
197
197
|
api_key: Your Euri API key
|
198
198
|
default_model: Default model to use
|
199
199
|
"""
|
200
|
-
if autogen is None:
|
200
|
+
if autogen is None or AssistantAgent is None or UserProxyAgent is None:
|
201
201
|
from . import check_optional_dependency
|
202
202
|
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
203
203
|
|
@@ -231,6 +231,11 @@ class EuriaiAutoGen:
|
|
231
231
|
Returns:
|
232
232
|
Configured AssistantAgent
|
233
233
|
"""
|
234
|
+
# Check if AutoGen is properly imported
|
235
|
+
if AssistantAgent is None:
|
236
|
+
from . import check_optional_dependency
|
237
|
+
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
238
|
+
|
234
239
|
# Create config for Euri API
|
235
240
|
config_list = [{
|
236
241
|
"model": model or self.default_model,
|
@@ -273,6 +278,11 @@ class EuriaiAutoGen:
|
|
273
278
|
Returns:
|
274
279
|
Configured UserProxyAgent
|
275
280
|
"""
|
281
|
+
# Check if AutoGen is properly imported
|
282
|
+
if UserProxyAgent is None:
|
283
|
+
from . import check_optional_dependency
|
284
|
+
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
285
|
+
|
276
286
|
agent = UserProxyAgent(
|
277
287
|
name=name,
|
278
288
|
is_termination_msg=is_termination_msg,
|
@@ -306,6 +316,11 @@ class EuriaiAutoGen:
|
|
306
316
|
Returns:
|
307
317
|
Configured GroupChat
|
308
318
|
"""
|
319
|
+
# Check if AutoGen is properly imported
|
320
|
+
if GroupChat is None:
|
321
|
+
from . import check_optional_dependency
|
322
|
+
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
323
|
+
|
309
324
|
self.group_chat = GroupChat(
|
310
325
|
agents=agents,
|
311
326
|
messages=messages or [],
|
@@ -338,6 +353,11 @@ class EuriaiAutoGen:
|
|
338
353
|
Returns:
|
339
354
|
Configured GroupChatManager
|
340
355
|
"""
|
356
|
+
# Check if AutoGen is properly imported
|
357
|
+
if GroupChatManager is None:
|
358
|
+
from . import check_optional_dependency
|
359
|
+
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
360
|
+
|
341
361
|
# Create config for Euri API
|
342
362
|
config_list = [{
|
343
363
|
"model": model or self.default_model,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
euriai/__init__.py,sha256=
|
2
|
-
euriai/autogen.py,sha256=
|
1
|
+
euriai/__init__.py,sha256=Dvycjk0FyVASMXaSDBMHzpCsfJlJlmO6nLNtZ9rvrRs,6629
|
2
|
+
euriai/autogen.py,sha256=7lT_T1RT9RdytrSwbj3UhQ6_mVdoMy4Mr7y4HdWDPkc,16961
|
3
3
|
euriai/cli.py,sha256=hF1wiiL2QQSfWf8WlLQyNVDBd4YkbiwmMSoPxVbyPTM,3290
|
4
4
|
euriai/client.py,sha256=L-o6hv9N3md-l-hz-kz5nYVaaZqnrREZlo_0jguhF7E,4066
|
5
5
|
euriai/crewai.py,sha256=nfMMOOhKiCIc2v42nj2Zf9rP0U5m4GrfK_6zkXL77gw,7594
|
@@ -12,8 +12,8 @@ euriai/langgraph.py,sha256=sw9e-PnfwAwmp_tUCnAGIUB78GyJsMkAzxOGvFUafiM,34128
|
|
12
12
|
euriai/llamaindex.py,sha256=c-ujod2bjL6QIvfAyuIxm1SvSCS00URFElYybKQ5Ew0,26551
|
13
13
|
euriai/n8n.py,sha256=hjkckqyW_hZNL78UkBCof1WvKCKCIjwdvZdAgx6NrB8,3764
|
14
14
|
euriai/smolagents.py,sha256=xlixGx2IWzAPTpSJGsYIK2L-SHGY9Mw1-8GbwVsEYtU,28507
|
15
|
-
euriai-1.0.
|
16
|
-
euriai-1.0.
|
17
|
-
euriai-1.0.
|
18
|
-
euriai-1.0.
|
19
|
-
euriai-1.0.
|
15
|
+
euriai-1.0.7.dist-info/METADATA,sha256=gxZb_093o7FZ1-G599QQ6HCEuUpEPCMS-OXz72siVHE,6806
|
16
|
+
euriai-1.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
17
|
+
euriai-1.0.7.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
|
18
|
+
euriai-1.0.7.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
|
19
|
+
euriai-1.0.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|