GPTRouter 0.5.4__tar.gz → 1.0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: GPTRouter
3
- Version: 0.5.4
3
+ Version: 1.0.1
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.5.4
3
+ Version: 1.0.1
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
@@ -32,8 +32,21 @@ class ExtendedThinking(BaseModel):
32
32
  budget_tokens: Optional[int] = 1024
33
33
 
34
34
 
35
+ class UserLocationApproximate(BaseModel):
36
+ city: Optional[str] = None
37
+ country: Optional[str] = None
38
+ region: Optional[str] = None
39
+ timezone: Optional[str] = None
40
+
41
+
42
+ class UserLocation(BaseModel):
43
+ type: Optional[str] = None
44
+ approximate: Optional[UserLocationApproximate] = None
45
+
46
+
35
47
  class WebSearchOptions(BaseModel):
36
48
  search_context_size: Optional[SearchContextSize] = None
49
+ user_location: Optional[UserLocation] = None
37
50
 
38
51
 
39
52
  class GenerationParams(BaseModel):
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name="GPTRouter",
8
- version="0.5.4",
8
+ version="1.0.1",
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
File without changes