euriai 1.0.8__tar.gz → 1.0.9__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.8 → euriai-1.0.9}/PKG-INFO +1 -1
- {euriai-1.0.8 → euriai-1.0.9}/euriai/__init__.py +1 -1
- {euriai-1.0.8 → euriai-1.0.9}/euriai/autogen.py +22 -12
- {euriai-1.0.8 → euriai-1.0.9}/euriai.egg-info/PKG-INFO +1 -1
- {euriai-1.0.8 → euriai-1.0.9}/setup.py +1 -1
- {euriai-1.0.8 → euriai-1.0.9}/README.md +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/cli.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/client.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/crewai.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/direct.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/embedding.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/euri_chat.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/euri_embed.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/langchain.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/langgraph.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/llamaindex.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/n8n.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai/smolagents.py +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai.egg-info/SOURCES.txt +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai.egg-info/dependency_links.txt +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai.egg-info/entry_points.txt +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai.egg-info/requires.txt +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/euriai.egg-info/top_level.txt +0 -0
- {euriai-1.0.8 → euriai-1.0.9}/setup.cfg +0 -0
@@ -272,15 +272,15 @@ class EuriaiAutoGen:
|
|
272
272
|
Returns:
|
273
273
|
Configured AssistantAgent
|
274
274
|
"""
|
275
|
-
# Import AutoGen
|
275
|
+
# Import AutoGen AssistantAgent class
|
276
276
|
try:
|
277
277
|
from autogen import AssistantAgent
|
278
|
-
# Verify the class is not None
|
279
|
-
if AssistantAgent is None:
|
280
|
-
raise ImportError("AutoGen AssistantAgent class is None")
|
281
278
|
except ImportError:
|
282
279
|
from . import check_optional_dependency
|
283
280
|
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
281
|
+
# This line will never be reached if AutoGen is missing
|
282
|
+
# because check_optional_dependency raises ImportError
|
283
|
+
raise # Re-raise the original ImportError
|
284
284
|
|
285
285
|
# Create config for Euri API
|
286
286
|
config_list = [{
|
@@ -324,15 +324,15 @@ class EuriaiAutoGen:
|
|
324
324
|
Returns:
|
325
325
|
Configured UserProxyAgent
|
326
326
|
"""
|
327
|
-
# Import AutoGen
|
327
|
+
# Import AutoGen UserProxyAgent class
|
328
328
|
try:
|
329
329
|
from autogen import UserProxyAgent
|
330
|
-
# Verify the class is not None
|
331
|
-
if UserProxyAgent is None:
|
332
|
-
raise ImportError("AutoGen UserProxyAgent class is None")
|
333
330
|
except ImportError:
|
334
331
|
from . import check_optional_dependency
|
335
332
|
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
333
|
+
# This line will never be reached if AutoGen is missing
|
334
|
+
# because check_optional_dependency raises ImportError
|
335
|
+
raise # Re-raise the original ImportError
|
336
336
|
|
337
337
|
agent = UserProxyAgent(
|
338
338
|
name=name,
|
@@ -367,8 +367,13 @@ class EuriaiAutoGen:
|
|
367
367
|
Returns:
|
368
368
|
Configured GroupChat
|
369
369
|
"""
|
370
|
-
#
|
371
|
-
|
370
|
+
# Import AutoGen GroupChat class
|
371
|
+
try:
|
372
|
+
from autogen import GroupChat
|
373
|
+
except ImportError:
|
374
|
+
from . import check_optional_dependency
|
375
|
+
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
376
|
+
raise # Re-raise the original ImportError
|
372
377
|
|
373
378
|
self.group_chat = GroupChat(
|
374
379
|
agents=agents,
|
@@ -402,8 +407,13 @@ class EuriaiAutoGen:
|
|
402
407
|
Returns:
|
403
408
|
Configured GroupChatManager
|
404
409
|
"""
|
405
|
-
#
|
406
|
-
|
410
|
+
# Import AutoGen GroupChatManager class
|
411
|
+
try:
|
412
|
+
from autogen import GroupChatManager
|
413
|
+
except ImportError:
|
414
|
+
from . import check_optional_dependency
|
415
|
+
check_optional_dependency("pyautogen", "AutoGen", "autogen")
|
416
|
+
raise # Re-raise the original ImportError
|
407
417
|
|
408
418
|
# Create config for Euri API
|
409
419
|
config_list = [{
|
@@ -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.9",
|
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
|