tamar-model-client 0.2.0__tar.gz → 0.2.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.
Files changed (40) hide show
  1. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/PKG-INFO +1 -1
  2. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/setup.py +1 -1
  3. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/schemas/inputs.py +7 -2
  4. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client.egg-info/PKG-INFO +1 -1
  5. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/README.md +0 -0
  6. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/setup.cfg +0 -0
  7. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/__init__.py +0 -0
  8. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/async_client.py +0 -0
  9. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/auth.py +0 -0
  10. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/circuit_breaker.py +0 -0
  11. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/core/__init__.py +0 -0
  12. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/core/base_client.py +0 -0
  13. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/core/http_fallback.py +0 -0
  14. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/core/logging_setup.py +0 -0
  15. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/core/request_builder.py +0 -0
  16. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/core/request_id_manager.py +0 -0
  17. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/core/response_handler.py +0 -0
  18. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/core/utils.py +0 -0
  19. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/enums/__init__.py +0 -0
  20. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/enums/channel.py +0 -0
  21. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/enums/invoke.py +0 -0
  22. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/enums/providers.py +0 -0
  23. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/error_handler.py +0 -0
  24. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/exceptions.py +0 -0
  25. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/generated/__init__.py +0 -0
  26. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/generated/model_service_pb2.py +0 -0
  27. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/generated/model_service_pb2_grpc.py +0 -0
  28. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/json_formatter.py +0 -0
  29. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/logging_icons.py +0 -0
  30. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/schemas/__init__.py +0 -0
  31. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/schemas/outputs.py +0 -0
  32. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/sync_client.py +0 -0
  33. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client/utils.py +0 -0
  34. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client.egg-info/SOURCES.txt +0 -0
  35. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client.egg-info/dependency_links.txt +0 -0
  36. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client.egg-info/requires.txt +0 -0
  37. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tamar_model_client.egg-info/top_level.txt +0 -0
  38. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tests/__init__.py +0 -0
  39. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tests/test_circuit_breaker.py +0 -0
  40. {tamar_model_client-0.2.0 → tamar_model_client-0.2.1}/tests/test_google_azure_final.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tamar-model-client
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A Python SDK for interacting with the Model Manager gRPC service
5
5
  Home-page: http://gitlab.tamaredge.top/project-tap/AgentOS/model-manager-client
6
6
  Author: Oscar Ou
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="tamar-model-client",
5
- version="0.2.0",
5
+ version="0.2.1",
6
6
  description="A Python SDK for interacting with the Model Manager gRPC service",
7
7
  author="Oscar Ou",
8
8
  author_email="oscar.ou@tamaredge.ai",
@@ -137,10 +137,12 @@ class OpenAIImagesInput(BaseModel):
137
137
  n: Optional[int] | NotGiven = NOT_GIVEN
138
138
  output_compression: Optional[int] | NotGiven = NOT_GIVEN
139
139
  output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN
140
+ partial_images: Optional[int] | NotGiven = NOT_GIVEN,
140
141
  quality: Literal["standard", "hd"] | NotGiven = NOT_GIVEN
141
142
  response_format: Optional[Literal["url", "b64_json"]] | NotGiven = NOT_GIVEN
142
143
  size: Optional[Literal[
143
144
  "auto", "1024x1024", "1536x1024", "1024x1536", "256x256", "512x512", "1792x1024", "1024x1792"]] | NotGiven = NOT_GIVEN
145
+ stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
144
146
  style: Optional[Literal["vivid", "natural"]] | NotGiven = NOT_GIVEN
145
147
  user: str | NotGiven = NOT_GIVEN
146
148
  extra_headers: Headers | None = None
@@ -157,15 +159,18 @@ class OpenAIImagesEditInput(BaseModel):
157
159
  image: Union[FileTypes, List[FileTypes]]
158
160
  prompt: str
159
161
  background: Optional[Literal["transparent", "opaque", "auto"]] | NotGiven = NOT_GIVEN
162
+ input_fidelity: Optional[Literal["high", "low"]] | NotGiven = NOT_GIVEN,
160
163
  mask: FileTypes | NotGiven = NOT_GIVEN
161
164
  model: Union[str, ImageModel, None] | NotGiven = NOT_GIVEN
162
165
  n: Optional[int] | NotGiven = NOT_GIVEN
166
+ output_compression: Optional[int] | NotGiven = NOT_GIVEN,
167
+ output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN,
168
+ partial_images: Optional[int] | NotGiven = NOT_GIVEN,
163
169
  quality: Optional[Literal["standard", "low", "medium", "high", "auto"]] | NotGiven = NOT_GIVEN
164
170
  response_format: Optional[Literal["url", "b64_json"]] | NotGiven = NOT_GIVEN
165
171
  size: Optional[Literal["256x256", "512x512", "1024x1024", "1536x1024", "1024x1536", "auto"]] | NotGiven = NOT_GIVEN
172
+ stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
166
173
  user: str | NotGiven = NOT_GIVEN
167
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
168
- # The extra values given here take precedence over values defined on the client or passed to this method.
169
174
  extra_headers: Headers | None = None
170
175
  extra_query: Query | None = None
171
176
  extra_body: Body | None = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tamar-model-client
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A Python SDK for interacting with the Model Manager gRPC service
5
5
  Home-page: http://gitlab.tamaredge.top/project-tap/AgentOS/model-manager-client
6
6
  Author: Oscar Ou