GPTRouter 0.2.5__tar.gz → 0.2.7__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.2.5
3
+ Version: 0.2.7
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.2.5
3
+ Version: 0.2.7
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
@@ -178,6 +178,9 @@ class GPTRouterClient:
178
178
  *,
179
179
  ordered_generation_requests: List[ModelGenerationRequest],
180
180
  is_stream=False,
181
+ tag: Optional[str] = None,
182
+ user_id: Optional[str] = None,
183
+ history_id: Optional[str] = None,
181
184
  ) -> Union[GenerationResponse, Generator[ChunkedGenerationResponse]]:
182
185
  api_path = "/v1/generate"
183
186
  api_method = "POST"
@@ -187,6 +190,9 @@ class GPTRouterClient:
187
190
  request.dict(exclude_none=True, by_alias=True)
188
191
  for request in ordered_generation_requests
189
192
  ],
193
+ "tag": tag,
194
+ "createdByUserId": user_id,
195
+ "historyId": history_id,
190
196
  }
191
197
  if is_stream:
192
198
  return self.stream_events(
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name="GPTRouter",
8
- version="0.2.5",
8
+ version="0.2.7",
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