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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: euriai
3
- Version: 1.0.9
3
+ Version: 1.0.11
4
4
  Summary: Python client for Euri API (euron.one) with CLI, LangChain, and LlamaIndex integration
5
5
  Author: Euri
6
6
  Author-email: tech@euron.one
@@ -4,7 +4,7 @@ Euri AI Python SDK
4
4
  A comprehensive Python SDK for the Euri AI API with integrations for popular frameworks.
5
5
  """
6
6
 
7
- __version__ = "1.0.9"
7
+ __version__ = "1.0.11"
8
8
 
9
9
  # Core imports that should always work
10
10
  try:
@@ -3,8 +3,21 @@ from types import SimpleNamespace
3
3
  from euriai.client import EuriaiClient
4
4
 
5
5
  try:
6
- import autogen
7
- from autogen import AssistantAgent, UserProxyAgent, GroupChat, GroupChatManager
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
- from autogen import AssistantAgent
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
- from autogen import UserProxyAgent
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
- from autogen import GroupChat
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
- from autogen import GroupChatManager
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")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: euriai
3
- Version: 1.0.9
3
+ Version: 1.0.11
4
4
  Summary: Python client for Euri API (euron.one) with CLI, LangChain, and LlamaIndex integration
5
5
  Author: Euri
6
6
  Author-email: tech@euron.one
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="euriai",
5
- version="1.0.9",
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