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.
- relaxai-0.5.3/.release-please-manifest.json +3 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/CHANGELOG.md +8 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/PKG-INFO +1 -1
- {relaxai-0.5.2 → relaxai-0.5.3}/pyproject.toml +1 -1
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_version.py +1 -1
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/deep_research.py +6 -1
- relaxai-0.5.2/.release-please-manifest.json +0 -3
- {relaxai-0.5.2 → relaxai-0.5.3}/.gitignore +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/CONTRIBUTING.md +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/LICENSE +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/README.md +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/SECURITY.md +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/api.md +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/bin/check-release-environment +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/bin/publish-pypi +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/examples/.keep +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/noxfile.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/release-please-config.json +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/requirements-dev.lock +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/requirements.lock +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/__init__.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_base_client.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_client.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_compat.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_constants.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_exceptions.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_files.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_models.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_qs.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_resource.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_response.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_streaming.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_types.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/__init__.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_compat.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_datetime_parse.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_logs.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_proxy.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_reflection.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_resources_proxy.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_streams.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_sync.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_transform.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_typing.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/_utils/_utils.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/lib/.keep +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/py.typed +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/__init__.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/chat.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/embeddings.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/models.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/resources/tools.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/__init__.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/chat_completion_message.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/chat_completion_message_param.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/chat_completion_response.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/chat_create_completion_params.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/content_filter_results.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/deep_research_create_params.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/deepresearch_response.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/embedding_create_embedding_params.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/embedding_response.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/function_call.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/function_call_param.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/function_definition_param.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/health_response.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/model.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/model_list.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/shared/__init__.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/shared/openai_completion_tokens_details.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/shared/openai_prompt_tokens_details.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/shared/openai_usage.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/stream_options_param.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/tool_execute_code_params.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/tool_response.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/__init__.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/__init__.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_chat.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_client.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_deep_research.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_embeddings.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_models.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/api_resources/test_tools.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/conftest.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/sample_file.txt +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_client.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_deepcopy.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_extract_files.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_files.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_models.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_qs.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_required_args.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_response.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_streaming.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_transform.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_utils/test_datetime_parse.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_utils/test_proxy.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/test_utils/test_typing.py +0 -0
- {relaxai-0.5.2 → relaxai-0.5.3}/tests/utils.py +0 -0
|
@@ -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)
|
|
@@ -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(
|
|
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
|
|
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
|
{relaxai-0.5.2 → relaxai-0.5.3}/src/relaxai/types/shared/openai_completion_tokens_details.py
RENAMED
|
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
|