indoxrouter 0.1.6__py3-none-any.whl → 0.1.7__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.
- indoxrouter/constants.py +1 -3
- {indoxrouter-0.1.6.dist-info → indoxrouter-0.1.7.dist-info}/METADATA +1 -13
- indoxrouter-0.1.7.dist-info/RECORD +8 -0
- indoxrouter-0.1.6.dist-info/RECORD +0 -8
- {indoxrouter-0.1.6.dist-info → indoxrouter-0.1.7.dist-info}/WHEEL +0 -0
- {indoxrouter-0.1.6.dist-info → indoxrouter-0.1.7.dist-info}/top_level.txt +0 -0
indoxrouter/constants.py
CHANGED
@@ -4,10 +4,8 @@ Constants for the IndoxRouter client.
|
|
4
4
|
|
5
5
|
# API settings
|
6
6
|
DEFAULT_API_VERSION = "v1"
|
7
|
-
|
8
|
-
DEFAULT_BASE_URL = "http://91.107.153.195:8000" # Production server
|
7
|
+
DEFAULT_BASE_URL = "https://91.107.253.133" # Production server IP
|
9
8
|
# DEFAULT_BASE_URL = "http://localhost:8000" # Local development server
|
10
|
-
# DEFAULT_BASE_URL = "http://indoxrouter-server:8000" # Docker internal network
|
11
9
|
DEFAULT_TIMEOUT = 60
|
12
10
|
|
13
11
|
# Default models
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: indoxrouter
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.7
|
4
4
|
Summary: A unified client for various AI providers
|
5
5
|
Home-page: https://github.com/indoxrouter/indoxrouter
|
6
6
|
Author: indoxRouter Team
|
@@ -63,18 +63,6 @@ from indoxrouter import Client
|
|
63
63
|
# Initialize with API key (default connects to localhost:8000)
|
64
64
|
client = Client(api_key="your_api_key")
|
65
65
|
|
66
|
-
# Or specify a custom server URL
|
67
|
-
client = Client(
|
68
|
-
api_key="your_api_key",
|
69
|
-
base_url="http://your-server-url:8000"
|
70
|
-
)
|
71
|
-
|
72
|
-
# Connect to Docker container inside the Docker network
|
73
|
-
client = Client(
|
74
|
-
api_key="your_api_key",
|
75
|
-
base_url="http://indoxrouter-server:8000"
|
76
|
-
)
|
77
|
-
|
78
66
|
# Using environment variables
|
79
67
|
# Set INDOX_ROUTER_API_KEY environment variable
|
80
68
|
import os
|
@@ -0,0 +1,8 @@
|
|
1
|
+
indoxrouter/__init__.py,sha256=28pdx482uGFF_S1msov0LTTGsFTvVBKRqMkDmoXWUBY,1416
|
2
|
+
indoxrouter/client.py,sha256=1XhBiz6CBoN_jNgKmmHvyXecdHZftDckssY2lAir_tA,24044
|
3
|
+
indoxrouter/constants.py,sha256=fBY0HNsVqiqk29QR2nkU_GjLEhT7IHg5k1d0wAIHDo8,1112
|
4
|
+
indoxrouter/exceptions.py,sha256=0ULxtK9va4718PGTO5VoClXYEJeojpiM-7AganeiZZ4,1263
|
5
|
+
indoxrouter-0.1.7.dist-info/METADATA,sha256=ZsIozuWEnCp_8oXrR1ABmTgiu2-4E3wrfaTOdjyW1xM,4971
|
6
|
+
indoxrouter-0.1.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
7
|
+
indoxrouter-0.1.7.dist-info/top_level.txt,sha256=v6FGWkw0QAnXhyYtnXLI1cxzna0iveNvZUotVzCWabM,12
|
8
|
+
indoxrouter-0.1.7.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
indoxrouter/__init__.py,sha256=28pdx482uGFF_S1msov0LTTGsFTvVBKRqMkDmoXWUBY,1416
|
2
|
-
indoxrouter/client.py,sha256=1XhBiz6CBoN_jNgKmmHvyXecdHZftDckssY2lAir_tA,24044
|
3
|
-
indoxrouter/constants.py,sha256=arYHu0l6KANmx9PHvg-QAkbXr4rjBKDbkD7jwASV_Mc,1268
|
4
|
-
indoxrouter/exceptions.py,sha256=0ULxtK9va4718PGTO5VoClXYEJeojpiM-7AganeiZZ4,1263
|
5
|
-
indoxrouter-0.1.6.dist-info/METADATA,sha256=a63v855MS2ZSb7xYfYQ5KxudtDkd2RzGPtX-TmtWIuY,5257
|
6
|
-
indoxrouter-0.1.6.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
7
|
-
indoxrouter-0.1.6.dist-info/top_level.txt,sha256=v6FGWkw0QAnXhyYtnXLI1cxzna0iveNvZUotVzCWabM,12
|
8
|
-
indoxrouter-0.1.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|