agenta 0.48.3__py3-none-any.whl → 0.48.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 agenta might be problematic. Click here for more details.
- agenta/sdk/litellm/mockllm.py +2 -1
- agenta/sdk/middleware/auth.py +3 -1
- agenta/sdk/middleware/config.py +3 -1
- agenta/sdk/middleware/vault.py +3 -1
- {agenta-0.48.3.dist-info → agenta-0.48.5.dist-info}/METADATA +3 -3
- {agenta-0.48.3.dist-info → agenta-0.48.5.dist-info}/RECORD +7 -7
- {agenta-0.48.3.dist-info → agenta-0.48.5.dist-info}/WHEEL +0 -0
agenta/sdk/litellm/mockllm.py
CHANGED
|
@@ -12,7 +12,8 @@ log = get_module_logger(__name__)
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class LitellmProtocol(Protocol):
|
|
15
|
-
async def acompletion(self, *args: Any, **kwargs: Any) -> Any:
|
|
15
|
+
async def acompletion(self, *args: Any, **kwargs: Any) -> Any:
|
|
16
|
+
...
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
litellm: Optional[LitellmProtocol] = None # pylint: disable=invalid-name
|
agenta/sdk/middleware/auth.py
CHANGED
|
@@ -20,7 +20,9 @@ log = get_module_logger(__name__)
|
|
|
20
20
|
AGENTA_RUNTIME_PREFIX = getenv("AGENTA_RUNTIME_PREFIX", "")
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
_CACHE_ENABLED =
|
|
23
|
+
_CACHE_ENABLED = (
|
|
24
|
+
getenv("AGENTA_SERVICE_MIDDLEWARE_CACHE_ENABLED", "true").lower() in TRUTHY
|
|
25
|
+
)
|
|
24
26
|
|
|
25
27
|
_ALWAYS_ALLOW_LIST = [f"{AGENTA_RUNTIME_PREFIX}/health"]
|
|
26
28
|
|
agenta/sdk/middleware/config.py
CHANGED
|
@@ -17,7 +17,9 @@ from agenta.sdk.utils.exceptions import suppress
|
|
|
17
17
|
import agenta as ag
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
_CACHE_ENABLED =
|
|
20
|
+
_CACHE_ENABLED = (
|
|
21
|
+
getenv("AGENTA_SERVICE_MIDDLEWARE_CACHE_ENABLED", "true").lower() in TRUTHY
|
|
22
|
+
)
|
|
21
23
|
|
|
22
24
|
_cache = TTLLRUCache()
|
|
23
25
|
|
agenta/sdk/middleware/vault.py
CHANGED
|
@@ -24,7 +24,9 @@ _PROVIDER_KINDS = []
|
|
|
24
24
|
for provider_kind in StandardProviderKind.__args__[0].__args__: # type: ignore
|
|
25
25
|
_PROVIDER_KINDS.append(provider_kind)
|
|
26
26
|
|
|
27
|
-
_CACHE_ENABLED =
|
|
27
|
+
_CACHE_ENABLED = (
|
|
28
|
+
getenv("AGENTA_SERVICE_MIDDLEWARE_CACHE_ENABLED", "true").lower() in TRUTHY
|
|
29
|
+
)
|
|
28
30
|
|
|
29
31
|
_cache = TTLLRUCache()
|
|
30
32
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: agenta
|
|
3
|
-
Version: 0.48.
|
|
3
|
+
Version: 0.48.5
|
|
4
4
|
Summary: The SDK for agenta is an open-source LLMOps platform.
|
|
5
5
|
Keywords: LLMOps,LLM,evaluation,prompt engineering
|
|
6
6
|
Author: Mahmoud Mabrouk
|
|
@@ -87,7 +87,7 @@ Description-Content-Type: text/markdown
|
|
|
87
87
|
</p>
|
|
88
88
|
|
|
89
89
|
<p align="center">
|
|
90
|
-
<a href="https://join.slack.com/t/agenta-hq/shared_invite/zt-
|
|
90
|
+
<a href="https://join.slack.com/t/agenta-hq/shared_invite/zt-37pnbp5s6-mbBrPL863d_oLB61GSNFjw">
|
|
91
91
|
<img src="https://img.shields.io/badge/JOIN US ON SLACK-4A154B?style=for-the-badge&logo=slack&logoColor=white" />
|
|
92
92
|
</a>
|
|
93
93
|
<a href="https://www.linkedin.com/company/agenta-ai/">
|
|
@@ -192,7 +192,7 @@ Find help, explore resources, or get involved:
|
|
|
192
192
|
|
|
193
193
|
- **📚 [Documentation](https://docs.agenta.ai?utm_source=github&utm_medium=referral&utm_campaign=readme)** – Full guides and API reference
|
|
194
194
|
- **📋 [Changelog](https://docs.agenta.ai/changelog/main?utm_source=github&utm_medium=referral&utm_campaign=readme)** – Track recent updates
|
|
195
|
-
- **💬 [Slack Community](https://join.slack.com/t/agenta-hq/shared_invite/zt-
|
|
195
|
+
- **💬 [Slack Community](https://join.slack.com/t/agenta-hq/shared_invite/zt-37pnbp5s6-mbBrPL863d_oLB61GSNFjw)** – Ask questions and get support
|
|
196
196
|
|
|
197
197
|
### 🤝 Contribute
|
|
198
198
|
|
|
@@ -210,7 +210,7 @@ agenta/sdk/decorators/routing.py,sha256=L3o0Q9flBfb2UIfCIx0OWzkP0W-45_GQ3-Ri8phw
|
|
|
210
210
|
agenta/sdk/decorators/tracing.py,sha256=pABMVFtqD99W3ErqWDFUmymmXiXdzhdAJG01l-CTLVQ,10110
|
|
211
211
|
agenta/sdk/litellm/__init__.py,sha256=Bpz1gfHQc0MN1yolWcjifLWznv6GjHggvRGQSpxpihM,37
|
|
212
212
|
agenta/sdk/litellm/litellm.py,sha256=dCjw0H_jD3L3UQ3l9SbLm5dfeIGnel6dPtQYJ78beYM,10202
|
|
213
|
-
agenta/sdk/litellm/mockllm.py,sha256=
|
|
213
|
+
agenta/sdk/litellm/mockllm.py,sha256=PG3DF2ZjWHOtCt8WIU3qcSyXBOZspUX1FIyFMA9HuZM,902
|
|
214
214
|
agenta/sdk/litellm/mocks/__init__.py,sha256=BH92MtQNPLfbN6ERk13XuDjVnNHy9joi7E_I3heUDC4,1299
|
|
215
215
|
agenta/sdk/managers/__init__.py,sha256=SN-LRwG0pRRDV3u2Q4JiiSTigN3-mYpzGNM35RzT4mc,238
|
|
216
216
|
agenta/sdk/managers/apps.py,sha256=BeAlTJlOOM0Wh_XWgjve65Mt-LwFgib_swu-1wvGQi4,2250
|
|
@@ -221,13 +221,13 @@ agenta/sdk/managers/shared.py,sha256=kI3w74E4rS3YDORG2e-_r0Pz5KslTRzRBK7vgyOeaJA
|
|
|
221
221
|
agenta/sdk/managers/variant.py,sha256=A5ga3mq3b0weUTXa9HO72MGaspthGcu1uK9K5OnP738,4172
|
|
222
222
|
agenta/sdk/managers/vault.py,sha256=054ce9X_xKa2M4NtQWz-GugO6q_pYVWCP3IxbAJJcRw,337
|
|
223
223
|
agenta/sdk/middleware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
224
|
-
agenta/sdk/middleware/auth.py,sha256=
|
|
225
|
-
agenta/sdk/middleware/config.py,sha256=
|
|
224
|
+
agenta/sdk/middleware/auth.py,sha256=Iw7v7wsjHbVqjWc__hlwO6hMssd1azEl_uaE4H9FO18,10176
|
|
225
|
+
agenta/sdk/middleware/config.py,sha256=zd57kxaeYheZMG8nD5VOYgHXw8j9zRlFacuzCGHWeEA,7978
|
|
226
226
|
agenta/sdk/middleware/cors.py,sha256=q3r7lGkrIdMcT_vuhsburMcjG7pyl7w0ycxrIrGJ2e8,921
|
|
227
227
|
agenta/sdk/middleware/inline.py,sha256=ee8E4XBGcRSrHTvblqX1yRXuTN_sxLm7lY1jnywrBG8,901
|
|
228
228
|
agenta/sdk/middleware/mock.py,sha256=bCUN9iJBxePyN9MBwBpJs-_iCNkUQeUjIIu3WElS1oQ,759
|
|
229
229
|
agenta/sdk/middleware/otel.py,sha256=lHzhGUv4fq2RPuTPH2keJ16v-_cBUrLrTqWzHUmEVdI,1041
|
|
230
|
-
agenta/sdk/middleware/vault.py,sha256=
|
|
230
|
+
agenta/sdk/middleware/vault.py,sha256=Sxd8y0yTMRIpT0r0iwYUNv3SVXTGUEcYf8RaXISIalQ,4058
|
|
231
231
|
agenta/sdk/router.py,sha256=mOguvtOwl2wmyAgOuWTsf98pQwpNiUILKIo67W_hR3A,119
|
|
232
232
|
agenta/sdk/tracing/__init__.py,sha256=rQNe5-zT5Kt7_CDhq-lnUIi1EYTBVzVf_MbfcIxVD98,41
|
|
233
233
|
agenta/sdk/tracing/attributes.py,sha256=DwjjOk3mGOvz0jYu8EYr3hhItvawK5GX80_MfciqPrc,5559
|
|
@@ -250,6 +250,6 @@ agenta/sdk/utils/logging.py,sha256=j4NzpFk2ilOM10sRBOxCjmansDHSx6HwMV8IAEreRb8,8
|
|
|
250
250
|
agenta/sdk/utils/preinit.py,sha256=1TAAHhYyYnLLwvzwnf33Qwkou7tI3iITlVt-1kcyGaM,1186
|
|
251
251
|
agenta/sdk/utils/singleton.py,sha256=17Ph7LGnnV8HkPjImruKita2ni03Ari5jr0jqm__4sc,312
|
|
252
252
|
agenta/sdk/utils/timing.py,sha256=nZR-kudVUtKFlHuBhztgSGxj7FVnCB4Uv6sfg-1dkrQ,1556
|
|
253
|
-
agenta-0.48.
|
|
254
|
-
agenta-0.48.
|
|
255
|
-
agenta-0.48.
|
|
253
|
+
agenta-0.48.5.dist-info/METADATA,sha256=08CMrQXoNby8vBD8okqhHhrKEHjleS7nKwcbA87QDlA,31433
|
|
254
|
+
agenta-0.48.5.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
255
|
+
agenta-0.48.5.dist-info/RECORD,,
|
|
File without changes
|