agenta 0.48.6__py3-none-any.whl → 0.48.8__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.

@@ -32,11 +32,12 @@ def parse_url(url: str) -> str:
32
32
  if internal_url:
33
33
  return internal_url
34
34
 
35
- docker_network_mode = os.getenv("DOCKER_NETWORK_MODE", "bridge").lower()
36
- if docker_network_mode == "bridge":
35
+ docker_network_mode = os.getenv("DOCKER_NETWORK_MODE")
36
+
37
+ if docker_network_mode and docker_network_mode.lower() == "bridge":
37
38
  return url.replace("localhost", "host.docker.internal")
38
39
 
39
- if not docker_network_mode or docker_network_mode == "host":
40
+ if not docker_network_mode or docker_network_mode.lower() == "host":
40
41
  return url
41
42
 
42
43
  # For any other network mode, return the URL unchanged
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: agenta
3
- Version: 0.48.6
3
+ Version: 0.48.8
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
@@ -177,7 +177,7 @@ git clone https://github.com/Agenta-AI/agenta && cd agenta
177
177
 
178
178
  2. Start Agenta services:
179
179
  ```bash
180
- docker compose -f hosting/docker-compose/oss/docker-compose.gh.yml --env-file hosting/docker-compose/oss/.env.oss.gh --profile with-web up -d
180
+ docker compose -f hosting/docker-compose/oss/docker-compose.gh.yml --env-file hosting/docker-compose/oss/.env.oss.gh --profile with-web --profile with-traefik up -d
181
181
  ```
182
182
 
183
183
  3. Access Agenta at `http://localhost`.
@@ -245,11 +245,11 @@ agenta/sdk/utils/constants.py,sha256=zW3R4rjXOo2L5lz6q84l_zYuOM9u4mpPRHw_B1Dr_hI
245
245
  agenta/sdk/utils/costs.py,sha256=i8C7ud__pThLS55XkN4YW8czXtGeXr2mx7jjcOFeiXg,5955
246
246
  agenta/sdk/utils/exceptions.py,sha256=Dq3lh5Ug7IhF4nvYRXXlwhgxEuByOnT1w0uVMZx1eaM,1504
247
247
  agenta/sdk/utils/globals.py,sha256=9ixKS8aI6ZWgsjT8WngvTg4dsnP2cKErNJngHxzdK9U,256
248
- agenta/sdk/utils/helpers.py,sha256=5yXWUbizTVAw1kLbV2UQWnkvxUL0vegXOYN55ylS3Gs,1175
248
+ agenta/sdk/utils/helpers.py,sha256=nqUrTfRQfzQhP9ZuJ72MXVRtIFgAoIhzymFN2wGZYhQ,1198
249
249
  agenta/sdk/utils/logging.py,sha256=j4NzpFk2ilOM10sRBOxCjmansDHSx6HwMV8IAEreRb8,8386
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.6.dist-info/METADATA,sha256=FMYTBvl0SPQhKOP7BCDGFGfKFX3fBPnBm6v16C0T6CY,31433
254
- agenta-0.48.6.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
255
- agenta-0.48.6.dist-info/RECORD,,
253
+ agenta-0.48.8.dist-info/METADATA,sha256=QAIDalUoutOgc4zUJCIGgManVrWzh0Bfs91mPIcJgv0,31456
254
+ agenta-0.48.8.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
255
+ agenta-0.48.8.dist-info/RECORD,,