GPTRouter 0.4.8__tar.gz → 0.5.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: GPTRouter
3
- Version: 0.4.8
3
+ Version: 0.5.0
4
4
  Summary: A Python package for working with GPTRouter APIs
5
5
  Author-email: sirjanpreet@writesonic.com
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: GPTRouter
3
- Version: 0.4.8
3
+ Version: 0.5.0
4
4
  Summary: A Python package for working with GPTRouter APIs
5
5
  Author-email: sirjanpreet@writesonic.com
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -20,6 +20,7 @@ class ProvidersEnum(Enum):
20
20
  REPLICATE = "replicate"
21
21
  OPENAI_EMBEDDINGS = "openai_embeddings"
22
22
  AZURE_OPENAI_EMBEDDINGS = "azure_openai_embeddings"
23
+ AWS_BEDROCK = "aws_bedrock"
23
24
 
24
25
 
25
26
  class ModelsEnum(Enum):
@@ -16,6 +16,7 @@ class GPTRouterMetadata(BaseModel):
16
16
  created_by_user_id: Optional[str] = None
17
17
  appId: Optional[str] = None
18
18
 
19
+
19
20
  class ThinkingType(str, Enum):
20
21
  ENABLED = "enabled"
21
22
  DISABLED = "disabled"
@@ -25,6 +26,7 @@ class ExtendedThinking(BaseModel):
25
26
  type: ThinkingType
26
27
  budget_tokens: Optional[int] = 1024
27
28
 
29
+
28
30
  class GenerationParams(BaseModel):
29
31
  messages: Optional[List[Any]] = None
30
32
  max_tokens: Optional[int] = None
@@ -48,7 +50,8 @@ class GenerationParams(BaseModel):
48
50
  metadata: Optional[dict] = None
49
51
  raw_event: Optional[bool] = None
50
52
  thinking: Optional[ExtendedThinking] = None
51
- colasce_into_thinking_tag: Optional[bool] = False
53
+ colasce_into_thinking_tag: Optional[bool] = None
54
+ use_response_api: Optional[bool] = None
52
55
 
53
56
 
54
57
  class ModelGenerationRequest(BaseModel):
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name="GPTRouter",
8
- version="0.4.8",
8
+ version="0.5.0",
9
9
  description="A Python package for working with GPTRouter APIs",
10
10
  long_description=long_description,
11
11
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes