euriai 1.0.9__tar.gz → 1.0.10__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.10
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.10"
8
8
 
9
9
  # Core imports that should always work
10
10
  try:
@@ -3,8 +3,14 @@ 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 import AssistantAgent, UserProxyAgent, GroupChat, GroupChatManager
9
+ import autogen_agentchat as autogen
10
+ except ImportError:
11
+ # Fall back to older AutoGen structure
12
+ import autogen
13
+ from autogen import AssistantAgent, UserProxyAgent, GroupChat, GroupChatManager
8
14
  except ImportError:
9
15
  autogen = None
10
16
  AssistantAgent = UserProxyAgent = GroupChat = GroupChatManager = None
@@ -274,7 +280,12 @@ class EuriaiAutoGen:
274
280
  """
275
281
  # Import AutoGen AssistantAgent class
276
282
  try:
277
- from autogen import AssistantAgent
283
+ # Try newer AutoGen structure first (v0.6+)
284
+ try:
285
+ from autogen_agentchat import AssistantAgent
286
+ except ImportError:
287
+ # Fall back to older AutoGen structure
288
+ from autogen import AssistantAgent
278
289
  except ImportError:
279
290
  from . import check_optional_dependency
280
291
  check_optional_dependency("pyautogen", "AutoGen", "autogen")
@@ -326,7 +337,12 @@ class EuriaiAutoGen:
326
337
  """
327
338
  # Import AutoGen UserProxyAgent class
328
339
  try:
329
- from autogen import UserProxyAgent
340
+ # Try newer AutoGen structure first (v0.6+)
341
+ try:
342
+ from autogen_agentchat import UserProxyAgent
343
+ except ImportError:
344
+ # Fall back to older AutoGen structure
345
+ from autogen import UserProxyAgent
330
346
  except ImportError:
331
347
  from . import check_optional_dependency
332
348
  check_optional_dependency("pyautogen", "AutoGen", "autogen")
@@ -369,7 +385,12 @@ class EuriaiAutoGen:
369
385
  """
370
386
  # Import AutoGen GroupChat class
371
387
  try:
372
- from autogen import GroupChat
388
+ # Try newer AutoGen structure first (v0.6+)
389
+ try:
390
+ from autogen_agentchat import GroupChat
391
+ except ImportError:
392
+ # Fall back to older AutoGen structure
393
+ from autogen import GroupChat
373
394
  except ImportError:
374
395
  from . import check_optional_dependency
375
396
  check_optional_dependency("pyautogen", "AutoGen", "autogen")
@@ -409,7 +430,12 @@ class EuriaiAutoGen:
409
430
  """
410
431
  # Import AutoGen GroupChatManager class
411
432
  try:
412
- from autogen import GroupChatManager
433
+ # Try newer AutoGen structure first (v0.6+)
434
+ try:
435
+ from autogen_agentchat import GroupChatManager
436
+ except ImportError:
437
+ # Fall back to older AutoGen structure
438
+ from autogen import GroupChatManager
413
439
  except ImportError:
414
440
  from . import check_optional_dependency
415
441
  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.10
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.10",
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