relaxai 0.5.2__tar.gz → 0.5.3__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 (99) hide show
  1. relaxai-0.5.3/.release-please-manifest.json +3 -0
  2. {relaxai-0.5.2 → relaxai-0.5.3}/CHANGELOG.md +8 -0
  3. {relaxai-0.5.2 → relaxai-0.5.3}/PKG-INFO +1 -1
  4. {relaxai-0.5.2 → relaxai-0.5.3}/pyproject.toml +1 -1
  5. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_version.py +1 -1
  6. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/deep_research.py +6 -1
  7. relaxai-0.5.2/.release-please-manifest.json +0 -3
  8. {relaxai-0.5.2 → relaxai-0.5.3}/.gitignore +0 -0
  9. {relaxai-0.5.2 → relaxai-0.5.3}/CONTRIBUTING.md +0 -0
  10. {relaxai-0.5.2 → relaxai-0.5.3}/LICENSE +0 -0
  11. {relaxai-0.5.2 → relaxai-0.5.3}/README.md +0 -0
  12. {relaxai-0.5.2 → relaxai-0.5.3}/SECURITY.md +0 -0
  13. {relaxai-0.5.2 → relaxai-0.5.3}/api.md +0 -0
  14. {relaxai-0.5.2 → relaxai-0.5.3}/bin/check-release-environment +0 -0
  15. {relaxai-0.5.2 → relaxai-0.5.3}/bin/publish-pypi +0 -0
  16. {relaxai-0.5.2 → relaxai-0.5.3}/examples/.keep +0 -0
  17. {relaxai-0.5.2 → relaxai-0.5.3}/noxfile.py +0 -0
  18. {relaxai-0.5.2 → relaxai-0.5.3}/release-please-config.json +0 -0
  19. {relaxai-0.5.2 → relaxai-0.5.3}/requirements-dev.lock +0 -0
  20. {relaxai-0.5.2 → relaxai-0.5.3}/requirements.lock +0 -0
  21. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/__init__.py +0 -0
  22. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_base_client.py +0 -0
  23. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_client.py +0 -0
  24. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_compat.py +0 -0
  25. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_constants.py +0 -0
  26. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_exceptions.py +0 -0
  27. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_files.py +0 -0
  28. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_models.py +0 -0
  29. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_qs.py +0 -0
  30. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_resource.py +0 -0
  31. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_response.py +0 -0
  32. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_streaming.py +0 -0
  33. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_types.py +0 -0
  34. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/__init__.py +0 -0
  35. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_compat.py +0 -0
  36. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_datetime_parse.py +0 -0
  37. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_logs.py +0 -0
  38. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_proxy.py +0 -0
  39. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_reflection.py +0 -0
  40. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_resources_proxy.py +0 -0
  41. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_streams.py +0 -0
  42. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_sync.py +0 -0
  43. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_transform.py +0 -0
  44. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_typing.py +0 -0
  45. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_utils.py +0 -0
  46. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/lib/.keep +0 -0
  47. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/py.typed +0 -0
  48. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/__init__.py +0 -0
  49. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/chat.py +0 -0
  50. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/embeddings.py +0 -0
  51. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/models.py +0 -0
  52. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/tools.py +0 -0
  53. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/__init__.py +0 -0
  54. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/chat_completion_message.py +0 -0
  55. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/chat_completion_message_param.py +0 -0
  56. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/chat_completion_response.py +0 -0
  57. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/chat_create_completion_params.py +0 -0
  58. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/content_filter_results.py +0 -0
  59. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/deep_research_create_params.py +0 -0
  60. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/deepresearch_response.py +0 -0
  61. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/embedding_create_embedding_params.py +0 -0
  62. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/embedding_response.py +0 -0
  63. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/function_call.py +0 -0
  64. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/function_call_param.py +0 -0
  65. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/function_definition_param.py +0 -0
  66. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/health_response.py +0 -0
  67. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/model.py +0 -0
  68. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/model_list.py +0 -0
  69. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/shared/__init__.py +0 -0
  70. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/shared/openai_completion_tokens_details.py +0 -0
  71. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/shared/openai_prompt_tokens_details.py +0 -0
  72. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/shared/openai_usage.py +0 -0
  73. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/stream_options_param.py +0 -0
  74. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/tool_execute_code_params.py +0 -0
  75. {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/tool_response.py +0 -0
  76. {relaxai-0.5.2 → relaxai-0.5.3}/tests/__init__.py +0 -0
  77. {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/__init__.py +0 -0
  78. {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_chat.py +0 -0
  79. {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_client.py +0 -0
  80. {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_deep_research.py +0 -0
  81. {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_embeddings.py +0 -0
  82. {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_models.py +0 -0
  83. {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_tools.py +0 -0
  84. {relaxai-0.5.2 → relaxai-0.5.3}/tests/conftest.py +0 -0
  85. {relaxai-0.5.2 → relaxai-0.5.3}/tests/sample_file.txt +0 -0
  86. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_client.py +0 -0
  87. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_deepcopy.py +0 -0
  88. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_extract_files.py +0 -0
  89. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_files.py +0 -0
  90. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_models.py +0 -0
  91. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_qs.py +0 -0
  92. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_required_args.py +0 -0
  93. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_response.py +0 -0
  94. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_streaming.py +0 -0
  95. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_transform.py +0 -0
  96. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_utils/test_datetime_parse.py +0 -0
  97. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_utils/test_proxy.py +0 -0
  98. {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_utils/test_typing.py +0 -0
  99. {relaxai-0.5.2 → relaxai-0.5.3}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.5.3"
3
+ }
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.3 (2025-10-15)
4
+
5
+ Full Changelog: [v0.5.2...v0.5.3](https://github.com/relax-ai/python-sdk/compare/v0.5.2...v0.5.3)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **api:** add timeout to deepresearch ([3da40a5](https://github.com/relax-ai/python-sdk/commit/3da40a5123bdd6608b0510a3d0e94e5356b2e5fa))
10
+
3
11
  ## 0.5.2 (2025-10-15)
4
12
 
5
13
  Full Changelog: [v0.5.1...v0.5.2](https://github.com/relax-ai/python-sdk/compare/v0.5.1...v0.5.2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: relaxai
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: The official Python library for the relaxai API
5
5
  Project-URL: Homepage, https://github.com/relax-ai/python-sdk
6
6
  Project-URL: Repository, https://github.com/relax-ai/python-sdk
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "relaxai"
3
- version = "0.5.2"
3
+ version = "0.5.3"
4
4
  description = "The official Python library for the relaxai API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "relaxai"
4
- __version__ = "0.5.2" # x-release-please-version
4
+ __version__ = "0.5.3" # x-release-please-version
@@ -8,7 +8,7 @@ import httpx
8
8
 
9
9
  from ..types import deep_research_create_params
10
10
  from .._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
11
- from .._utils import maybe_transform, async_maybe_transform
11
+ from .._utils import is_given, maybe_transform, async_maybe_transform
12
12
  from .._compat import cached_property
13
13
  from .._resource import SyncAPIResource, AsyncAPIResource
14
14
  from .._response import (
@@ -17,6 +17,7 @@ from .._response import (
17
17
  async_to_raw_response_wrapper,
18
18
  async_to_streamed_response_wrapper,
19
19
  )
20
+ from .._constants import DEFAULT_TIMEOUT
20
21
  from .._base_client import make_request_options
21
22
  from ..types.stream_options_param import StreamOptionsParam
22
23
  from ..types.deepresearch_response import DeepresearchResponse
@@ -78,6 +79,8 @@ class DeepResearchResource(SyncAPIResource):
78
79
 
79
80
  timeout: Override the client-level default timeout for this request, in seconds
80
81
  """
82
+ if not is_given(timeout) and self._client.timeout == DEFAULT_TIMEOUT:
83
+ timeout = 600
81
84
  return self._post(
82
85
  "/v1/deep-research",
83
86
  body=maybe_transform(
@@ -156,6 +159,8 @@ class AsyncDeepResearchResource(AsyncAPIResource):
156
159
 
157
160
  timeout: Override the client-level default timeout for this request, in seconds
158
161
  """
162
+ if not is_given(timeout) and self._client.timeout == DEFAULT_TIMEOUT:
163
+ timeout = 600
159
164
  return await self._post(
160
165
  "/v1/deep-research",
161
166
  body=await async_maybe_transform(
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.5.2"
3
- }
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
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
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