euriai 1.0.9__tar.gz → 1.0.11__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.
- {euriai-1.0.9 → euriai-1.0.11}/PKG-INFO +1 -1
- {euriai-1.0.9 → euriai-1.0.11}/euriai/__init__.py +1 -1
- {euriai-1.0.9 → euriai-1.0.11}/euriai/autogen.py +51 -6
- {euriai-1.0.9 → euriai-1.0.11}/euriai.egg-info/PKG-INFO +1 -1
- {euriai-1.0.9 → euriai-1.0.11}/setup.py +1 -1
- {euriai-1.0.9 → euriai-1.0.11}/README.md +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/cli.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/client.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/crewai.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/direct.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/embedding.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/euri_chat.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/euri_embed.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/langchain.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/langgraph.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/llamaindex.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/n8n.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai/smolagents.py +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai.egg-info/SOURCES.txt +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai.egg-info/dependency_links.txt +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai.egg-info/entry_points.txt +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai.egg-info/requires.txt +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/euriai.egg-info/top_level.txt +0 -0
- {euriai-1.0.9 → euriai-1.0.11}/setup.cfg +0 -0
@@ -3,8 +3,21 @@ from types import SimpleNamespace
|
|
3
3
|
from euriai.client import EuriaiClient
|
4
4
|
|
5
5
|
try:
|
6
|
-
|
7
|
-
|
6
|
+
# Try newer AutoGen structure first (v0.6+)
|
7
|
+
try:
|
8
|
+
from autogen_agentchat.agents import AssistantAgent, UserProxyAgent
|
9
|
+
from autogen_agentchat.teams import GroupChat, GroupChatManager
|
10
|
+
import autogen_agentchat as autogen
|
11
|
+
except ImportError:
|
12
|
+
# Try alternative newer structure
|
13
|
+
try:
|
14
|
+
from autogen_agentchat.base import AssistantAgent, UserProxyAgent
|
15
|
+
from autogen_agentchat import GroupChat, GroupChatManager
|
16
|
+
import autogen_agentchat as autogen
|
17
|
+
except ImportError:
|
18
|
+
# Fall back to older AutoGen structure
|
19
|
+
import autogen
|
20
|
+
from autogen import AssistantAgent, UserProxyAgent, GroupChat, GroupChatManager
|
8
21
|
except ImportError:
|
9
22
|
autogen = None
|
10
23
|
AssistantAgent = UserProxyAgent = GroupChat = GroupChatManager = None
|
@@ -274,7 +287,15 @@ class EuriaiAutoGen:
|
|
274
287
|
"""
|
275
288
|
# Import AutoGen AssistantAgent class
|
276
289
|
try:
|
277
|
-
|
290
|
+
# Try newer AutoGen structure first (v0.6+)
|
291
|
+
try:
|
292
|
+
from autogen_agentchat.agents import AssistantAgent
|
293
|
+
except ImportError:
|
294
|
+
try:
|
295
|
+
from autogen_agentchat.base import AssistantAgent
|
296
|
+
except ImportError:
|
297
|
+
# Fall back to older AutoGen structure
|
298
|
+
from autogen import AssistantAgent
|
278
299
|
except ImportError:
|
279
300
|
from . import check_optional_dependency
|
280
301
|
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
@@ -326,7 +347,15 @@ class EuriaiAutoGen:
|
|
326
347
|
"""
|
327
348
|
# Import AutoGen UserProxyAgent class
|
328
349
|
try:
|
329
|
-
|
350
|
+
# Try newer AutoGen structure first (v0.6+)
|
351
|
+
try:
|
352
|
+
from autogen_agentchat.agents import UserProxyAgent
|
353
|
+
except ImportError:
|
354
|
+
try:
|
355
|
+
from autogen_agentchat.base import UserProxyAgent
|
356
|
+
except ImportError:
|
357
|
+
# Fall back to older AutoGen structure
|
358
|
+
from autogen import UserProxyAgent
|
330
359
|
except ImportError:
|
331
360
|
from . import check_optional_dependency
|
332
361
|
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
@@ -369,7 +398,15 @@ class EuriaiAutoGen:
|
|
369
398
|
"""
|
370
399
|
# Import AutoGen GroupChat class
|
371
400
|
try:
|
372
|
-
|
401
|
+
# Try newer AutoGen structure first (v0.6+)
|
402
|
+
try:
|
403
|
+
from autogen_agentchat.teams import GroupChat
|
404
|
+
except ImportError:
|
405
|
+
try:
|
406
|
+
from autogen_agentchat import GroupChat
|
407
|
+
except ImportError:
|
408
|
+
# Fall back to older AutoGen structure
|
409
|
+
from autogen import GroupChat
|
373
410
|
except ImportError:
|
374
411
|
from . import check_optional_dependency
|
375
412
|
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
@@ -409,7 +446,15 @@ class EuriaiAutoGen:
|
|
409
446
|
"""
|
410
447
|
# Import AutoGen GroupChatManager class
|
411
448
|
try:
|
412
|
-
|
449
|
+
# Try newer AutoGen structure first (v0.6+)
|
450
|
+
try:
|
451
|
+
from autogen_agentchat.teams import GroupChatManager
|
452
|
+
except ImportError:
|
453
|
+
try:
|
454
|
+
from autogen_agentchat import GroupChatManager
|
455
|
+
except ImportError:
|
456
|
+
# Fall back to older AutoGen structure
|
457
|
+
from autogen import GroupChatManager
|
413
458
|
except ImportError:
|
414
459
|
from . import check_optional_dependency
|
415
460
|
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name="euriai",
|
5
|
-
version="1.0.
|
5
|
+
version="1.0.11",
|
6
6
|
description="Python client for Euri API (euron.one) with CLI, LangChain, and LlamaIndex integration",
|
7
7
|
long_description=open("README.md", encoding="utf-8").read(),
|
8
8
|
long_description_content_type="text/markdown",
|
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
|
File without changes
|
File without changes
|