aiecs 1.0.4__py3-none-any.whl → 1.0.5__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.
Potentially problematic release.
This version of aiecs might be problematic. Click here for more details.
- aiecs/__init__.py +1 -1
- aiecs/llm/custom_callbacks.py +3 -3
- aiecs/llm/openai_client.py +1 -1
- aiecs/llm/vertex_client.py +1 -1
- aiecs/llm/xai_client.py +1 -1
- aiecs/main.py +1 -1
- aiecs/utils/token_usage_repository.py +1 -1
- {aiecs-1.0.4.dist-info → aiecs-1.0.5.dist-info}/METADATA +1 -1
- {aiecs-1.0.4.dist-info → aiecs-1.0.5.dist-info}/RECORD +13 -13
- {aiecs-1.0.4.dist-info → aiecs-1.0.5.dist-info}/WHEEL +0 -0
- {aiecs-1.0.4.dist-info → aiecs-1.0.5.dist-info}/entry_points.txt +0 -0
- {aiecs-1.0.4.dist-info → aiecs-1.0.5.dist-info}/licenses/LICENSE +0 -0
- {aiecs-1.0.4.dist-info → aiecs-1.0.5.dist-info}/top_level.txt +0 -0
aiecs/__init__.py
CHANGED
|
@@ -5,7 +5,7 @@ A powerful Python middleware framework for building AI-powered applications
|
|
|
5
5
|
with tool orchestration, task execution, and multi-provider LLM support.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
__version__ = "1.0.
|
|
8
|
+
__version__ = "1.0.5"
|
|
9
9
|
__author__ = "AIECS Team"
|
|
10
10
|
__email__ = "iretbl@gmail.com"
|
|
11
11
|
|
aiecs/llm/custom_callbacks.py
CHANGED
|
@@ -2,11 +2,11 @@ from typing import Any, List, Optional
|
|
|
2
2
|
import logging
|
|
3
3
|
|
|
4
4
|
# Import the base callback handler from utils
|
|
5
|
-
from
|
|
5
|
+
from aiecs.utils.base_callback import CustomAsyncCallbackHandler
|
|
6
6
|
# Import LLM types for internal use only
|
|
7
|
-
from .base_client import LLMMessage, LLMResponse
|
|
7
|
+
from aiecs.llm.base_client import LLMMessage, LLMResponse
|
|
8
8
|
# Import token usage repository
|
|
9
|
-
from
|
|
9
|
+
from aiecs.utils.token_usage_repository import token_usage_repo
|
|
10
10
|
|
|
11
11
|
logger = logging.getLogger(__name__)
|
|
12
12
|
|
aiecs/llm/openai_client.py
CHANGED
|
@@ -5,7 +5,7 @@ from openai import AsyncOpenAI
|
|
|
5
5
|
from tenacity import retry, stop_after_attempt, wait_exponential, retry_if_exception_type
|
|
6
6
|
import httpx
|
|
7
7
|
|
|
8
|
-
from .base_client import BaseLLMClient, LLMMessage, LLMResponse, ProviderNotAvailableError, RateLimitError
|
|
8
|
+
from aiecs.llm.base_client import BaseLLMClient, LLMMessage, LLMResponse, ProviderNotAvailableError, RateLimitError
|
|
9
9
|
from aiecs.config.config import get_settings
|
|
10
10
|
|
|
11
11
|
logger = logging.getLogger(__name__)
|
aiecs/llm/vertex_client.py
CHANGED
|
@@ -6,7 +6,7 @@ from vertexai.generative_models import GenerativeModel, HarmCategory, HarmBlockT
|
|
|
6
6
|
import vertexai
|
|
7
7
|
from google.oauth2 import service_account
|
|
8
8
|
|
|
9
|
-
from .base_client import BaseLLMClient, LLMMessage, LLMResponse, ProviderNotAvailableError, RateLimitError
|
|
9
|
+
from aiecs.llm.base_client import BaseLLMClient, LLMMessage, LLMResponse, ProviderNotAvailableError, RateLimitError
|
|
10
10
|
from aiecs.config.config import get_settings
|
|
11
11
|
|
|
12
12
|
logger = logging.getLogger(__name__)
|
aiecs/llm/xai_client.py
CHANGED
|
@@ -5,7 +5,7 @@ from typing import Dict, Any, Optional, List, AsyncGenerator
|
|
|
5
5
|
from openai import AsyncOpenAI
|
|
6
6
|
from tenacity import retry, stop_after_attempt, wait_exponential, retry_if_exception_type
|
|
7
7
|
|
|
8
|
-
from .base_client import BaseLLMClient, LLMMessage, LLMResponse, ProviderNotAvailableError, RateLimitError
|
|
8
|
+
from aiecs.llm.base_client import BaseLLMClient, LLMMessage, LLMResponse, ProviderNotAvailableError, RateLimitError
|
|
9
9
|
from aiecs.config.config import get_settings
|
|
10
10
|
|
|
11
11
|
logger = logging.getLogger(__name__)
|
aiecs/main.py
CHANGED
|
@@ -106,7 +106,7 @@ async def lifespan(app: FastAPI):
|
|
|
106
106
|
app = FastAPI(
|
|
107
107
|
title="AIECS - AI Execute Services",
|
|
108
108
|
description="Middleware service for AI-powered task execution and tool orchestration",
|
|
109
|
-
version="1.0.
|
|
109
|
+
version="1.0.5",
|
|
110
110
|
lifespan=lifespan
|
|
111
111
|
)
|
|
112
112
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
2
|
from typing import Optional, Dict, Any
|
|
3
3
|
import logging
|
|
4
|
-
from
|
|
4
|
+
from aiecs.infrastructure.persistence.redis_client import get_redis_client
|
|
5
5
|
|
|
6
6
|
logger = logging.getLogger(__name__)
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
aiecs/__init__.py,sha256=
|
|
1
|
+
aiecs/__init__.py,sha256=_hZLs48lP9j2hr3Wdf2KYKIED9YMWtDD7s-SSfyslgs,1859
|
|
2
2
|
aiecs/__main__.py,sha256=AfQpzy3SgwWuP4DuymYcm4MISMuzqwhxxGSYo53PBvY,1035
|
|
3
3
|
aiecs/aiecs_client.py,sha256=gJbCY6zuHR9TZPCgHhxd-d4CwCW9P_lUrtTSC5-ADWE,10527
|
|
4
|
-
aiecs/main.py,sha256=
|
|
4
|
+
aiecs/main.py,sha256=3ThBIeGWw-tIZguWd9HMSlFEcTOQeiFFlWBGq1INKY4,9306
|
|
5
5
|
aiecs/application/__init__.py,sha256=NkmrUH1DqxJ3vaVC8QwscNdlWqHfC7ZagL4k3nZ_qz4,192
|
|
6
6
|
aiecs/application/executors/__init__.py,sha256=WIl7L9HBsEhNfbNtJdvBvFUJXzESvNZVaiAA6tdtJcs,191
|
|
7
7
|
aiecs/application/executors/operation_executor.py,sha256=-7mFo1hUnWdehVPg0fnSiRhW3LACpIiyLSH-iu7bX4U,13818
|
|
@@ -37,10 +37,10 @@ aiecs/infrastructure/persistence/redis_client.py,sha256=CqPtYFP8-KHl3cJG9VHun9YF
|
|
|
37
37
|
aiecs/llm/__init__.py,sha256=EsOIu25eDnhEYKZDb1h_O9RxYIF7vaiORUZSUipzhsM,1084
|
|
38
38
|
aiecs/llm/base_client.py,sha256=xjirSGpLSsiWEhiTbKEFHNqbZanwJxBji9yVxegu77w,3193
|
|
39
39
|
aiecs/llm/client_factory.py,sha256=Ysa3NYJIwgqBfFomTfG-G8z3cIElLPcv_vFM4D1IyCc,13566
|
|
40
|
-
aiecs/llm/custom_callbacks.py,sha256=
|
|
41
|
-
aiecs/llm/openai_client.py,sha256=
|
|
42
|
-
aiecs/llm/vertex_client.py,sha256=
|
|
43
|
-
aiecs/llm/xai_client.py,sha256=
|
|
40
|
+
aiecs/llm/custom_callbacks.py,sha256=qwNwWqBl8EYj2aY16zXChZKLpxZahU9QeY4p57uZ5YU,9933
|
|
41
|
+
aiecs/llm/openai_client.py,sha256=T3-LMDV-bzv0fwyDCw6h9D2XbNbWd0dt-QmjKg-wkd0,4397
|
|
42
|
+
aiecs/llm/vertex_client.py,sha256=VN474c9fTUI2KpHOYlKJ8yQgd_VPQ7ht3dTtT7DoyWM,8601
|
|
43
|
+
aiecs/llm/xai_client.py,sha256=VYfBGD8ns6NHscT68DDmAmvwBMEVykLQufH8kFNf_L8,6809
|
|
44
44
|
aiecs/scripts/DEPENDENCY_SYSTEM_SUMMARY.md,sha256=u2OLwmXaRGuTwEfj3jQ_yzAO_Z49P1CBC1pV3iULuoE,5866
|
|
45
45
|
aiecs/scripts/README_DEPENDENCY_CHECKER.md,sha256=7sAyeiMN7I-RsTOudo_JO2CTbC5ObEV0z_YyGtjiMcI,6003
|
|
46
46
|
aiecs/scripts/README_WEASEL_PATCH.md,sha256=h0e3Xy6FArLgjika3pRZRhZRbyuj6iLzTU-AhHkWE7M,3581
|
|
@@ -79,12 +79,12 @@ aiecs/utils/base_callback.py,sha256=UpNrOZZ1RCmiVPnuhjFNde_m29yWg1ID16vzfzBMk7U,
|
|
|
79
79
|
aiecs/utils/execution_utils.py,sha256=uQoUcLKAbmkcMhucdhngrAfeXE6DvuG26qIx4wyx2fo,5871
|
|
80
80
|
aiecs/utils/logging.py,sha256=kvZ9OjFChfLN_2MEGvIDBK3trPAhikkh87rK49vN3bU,29
|
|
81
81
|
aiecs/utils/prompt_loader.py,sha256=cBS2bZXpYQOWSiOGkhwIzyy3_bETqwIblRi_9qQT9iQ,423
|
|
82
|
-
aiecs/utils/token_usage_repository.py,sha256=
|
|
82
|
+
aiecs/utils/token_usage_repository.py,sha256=1xjenLYwC0YT6lKZFEGO4scRCXLuWdec2MWjzih5SZY,10210
|
|
83
83
|
aiecs/ws/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
84
84
|
aiecs/ws/socket_server.py,sha256=j_9idVY_rWlTsF51FgmuhWCWFVt7_gAHL8vNg3IxV5g,1476
|
|
85
|
-
aiecs-1.0.
|
|
86
|
-
aiecs-1.0.
|
|
87
|
-
aiecs-1.0.
|
|
88
|
-
aiecs-1.0.
|
|
89
|
-
aiecs-1.0.
|
|
90
|
-
aiecs-1.0.
|
|
85
|
+
aiecs-1.0.5.dist-info/licenses/LICENSE,sha256=_1YRaIS0eZu1pv6xfz245UkU0i1Va2B841hv3OWRwqg,12494
|
|
86
|
+
aiecs-1.0.5.dist-info/METADATA,sha256=_xt9zCfqZG6dafoVqRcmtYBdLEgjXlPh5na8qdTokU4,16388
|
|
87
|
+
aiecs-1.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
88
|
+
aiecs-1.0.5.dist-info/entry_points.txt,sha256=0Bj2pSaZM-ADKTktbCQ0KQxRe0s8mQFKVsg3IGDJGqA,342
|
|
89
|
+
aiecs-1.0.5.dist-info/top_level.txt,sha256=22IlUlOqh9Ni3jXlQNMNUqzbW8dcxXPeR_EQ-BJVcV8,6
|
|
90
|
+
aiecs-1.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|