GPTRouter 0.3.9__tar.gz → 0.4.1__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.
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/GPTRouter.egg-info/PKG-INFO +1 -1
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/PKG-INFO +1 -1
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/gpt_router/client.py +1 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/gpt_router/enums.py +12 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/gpt_router/models.py +3 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/setup.py +1 -1
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/GPTRouter.egg-info/SOURCES.txt +0 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/GPTRouter.egg-info/dependency_links.txt +0 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/GPTRouter.egg-info/requires.txt +0 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/GPTRouter.egg-info/top_level.txt +0 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/LICENSE +0 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/README.md +0 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/gpt_router/__init__.py +0 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/gpt_router/constants.py +0 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/gpt_router/exceptions.py +0 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/pyproject.toml +0 -0
- {GPTRouter-0.3.9 → GPTRouter-0.4.1}/setup.cfg +0 -0
|
@@ -50,6 +50,9 @@ class ModelsEnum(Enum):
|
|
|
50
50
|
STABLE_DIFFUSION_V6 = "stable-diffusion-v1-6"
|
|
51
51
|
|
|
52
52
|
REPLICATE_FLUX = "black-forest-labs/flux-dev"
|
|
53
|
+
REPLICATE_FLUX_PRO = "black-forest-labs/flux-pro"
|
|
54
|
+
REPLICATE_FLUX_11_PRO = "black-forest-labs/flux-1.1-pro"
|
|
55
|
+
REPLICATE_FLUX_SCHNELL = "black-forest-labs/flux-schnell"
|
|
53
56
|
|
|
54
57
|
OPENAI_EMBEDDINGS_ADA_002 = "text-embedding-ada-002"
|
|
55
58
|
AZURE_OPENAI_EMBEDDINGS_ADA_002 = "text-embedding-ada-002"
|
|
@@ -164,6 +167,15 @@ class GPTRouterEngines(Enum):
|
|
|
164
167
|
REPLICATE_FLUX = ModelDetails(
|
|
165
168
|
ProvidersEnum.REPLICATE.value, "black-forest-labs/flux-dev"
|
|
166
169
|
)
|
|
170
|
+
REPLICATE_FLUX_PRO = ModelDetails(
|
|
171
|
+
ProvidersEnum.REPLICATE.value, "black-forest-labs/flux-pro"
|
|
172
|
+
)
|
|
173
|
+
REPLICATE_FLUX_11_PRO = ModelDetails(
|
|
174
|
+
ProvidersEnum.REPLICATE.value, "black-forest-labs/flux-1.1-pro"
|
|
175
|
+
)
|
|
176
|
+
REPLICATE_FLUX_SCHNELL = ModelDetails(
|
|
177
|
+
ProvidersEnum.REPLICATE.value, "black-forest-labs/flux-schnell"
|
|
178
|
+
)
|
|
167
179
|
|
|
168
180
|
LLAMA_3_70B_NITRO = ModelDetails(
|
|
169
181
|
ProvidersEnum.OPENROUTER, "meta-llama/llama-3-70b-instruct:nitro"
|
|
@@ -13,6 +13,7 @@ class GPTRouterMetadata(BaseModel):
|
|
|
13
13
|
tag: Optional[str] = None
|
|
14
14
|
history_id: Optional[str] = None
|
|
15
15
|
created_by_user_id: Optional[str] = None
|
|
16
|
+
appId: Optional[str] = None
|
|
16
17
|
|
|
17
18
|
class GenerationParams(BaseModel):
|
|
18
19
|
messages: Optional[List[Any]] = None
|
|
@@ -32,6 +33,7 @@ class GenerationParams(BaseModel):
|
|
|
32
33
|
tag: Optional[str] = None
|
|
33
34
|
user_id: Optional[str] = None
|
|
34
35
|
history_id: Optional[str] = None
|
|
36
|
+
appId: Optional[str] = None
|
|
35
37
|
metadata: Optional[dict] = None
|
|
36
38
|
raw_event: Optional[bool] = None
|
|
37
39
|
|
|
@@ -89,6 +91,7 @@ class ImageGenerationRequest(BaseModel):
|
|
|
89
91
|
num_images: int = Field(alias="numImages", default=1)
|
|
90
92
|
width: Optional[int] = Field(None, alias="width")
|
|
91
93
|
height: Optional[int] = Field(None, alias="height")
|
|
94
|
+
num_inference_steps: Optional[int] = Field(None, alias="numInferenceSteps")
|
|
92
95
|
|
|
93
96
|
class Config:
|
|
94
97
|
allow_population_by_field_name = True
|
|
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
|