Skip to content
This repository was archived by the owner on Nov 2, 2025. It is now read-only.

Commit abd227c

Browse files
release: 0.19.0 (#20)
Automated Release PR --- ## 0.19.0 (2025-10-21) Full Changelog: [v0.18.0...v0.19.0](v0.18.0...v0.19.0) ### Features * **api:** manual updates ([2a2b19d](2a2b19d)) ### Chores * bump `httpx-aiohttp` version to 0.1.9 ([ce499c3](ce499c3)) --- This pull request is managed by Stainless's [GitHub App](https://github.com/apps/stainless-app). The [semver version number](https://semver.org/#semantic-versioning-specification-semver) is based on included [commit messages](https://www.conventionalcommits.org/en/v1.0.0/). Alternatively, you can manually set the version number in the title of this pull request. For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request. 🔗 Stainless [website](https://www.stainlessapi.com) 📚 Read the [docs](https://app.stainlessapi.com/docs) 🙋 [Reach out](mailto:[email protected]) for help or questions --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 1947131 commit abd227c

File tree

17 files changed

+219
-141
lines changed

17 files changed

+219
-141
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.18.0"
2+
".": "0.19.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 43
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/inty%2Finty-89127d31b5fad61c910a682f7f88d7252ec3fd1d202ec1d89d377061d543a600.yml
3-
openapi_spec_hash: fd18c276ce08b3119804fd5f2d27bfcc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/inty%2Finty-0ee1ca2e37cb856ecf0f045a635fdd848c7e833cfff33c51e101f3c7cea21ad5.yml
3+
openapi_spec_hash: 2c5b254f4d087de9eb52c1416d4d9e46
44
config_hash: b89b885fbfc8304f6687a90b818606b2

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 0.19.0 (2025-10-21)
4+
5+
Full Changelog: [v0.18.0...v0.19.0](https://github.com/NascentCore/inty-python/compare/v0.18.0...v0.19.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([2a2b19d](https://github.com/NascentCore/inty-python/commit/2a2b19dadc63e503b9d51d9ad20f47d6dfeb00eb))
10+
11+
12+
### Chores
13+
14+
* bump `httpx-aiohttp` version to 0.1.9 ([ce499c3](https://github.com/NascentCore/inty-python/commit/ce499c3b33eb5c9ee682ff3805da5cbd9b99a4b5))
15+
316
## 0.18.0 (2025-10-14)
417

518
Full Changelog: [v0.17.0...v0.18.0](https://github.com/NascentCore/inty-python/compare/v0.17.0...v0.18.0)

api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,14 @@ from inty.types.api.v1.ai import (
100100
APIResponseAgent,
101101
APIResponsePaginationDataAgent,
102102
ModelConfig,
103+
AgentCreateResponse,
103104
AgentListResponse,
104105
)
105106
```
106107

107108
Methods:
108109

109-
- <code title="post /api/v1/ai/agents">client.api.v1.ai.agents.<a href="./src/inty/resources/api/v1/ai/agents.py">create</a>(\*\*<a href="src/inty/types/api/v1/ai/agent_create_params.py">params</a>) -> <a href="./src/inty/types/api/v1/ai/api_response_agent.py">APIResponseAgent</a></code>
110+
- <code title="post /api/v1/ai/agents">client.api.v1.ai.agents.<a href="./src/inty/resources/api/v1/ai/agents.py">create</a>(\*\*<a href="src/inty/types/api/v1/ai/agent_create_params.py">params</a>) -> <a href="./src/inty/types/api/v1/ai/agent_create_response.py">AgentCreateResponse</a></code>
110111
- <code title="get /api/v1/ai/agents/{agent_id}">client.api.v1.ai.agents.<a href="./src/inty/resources/api/v1/ai/agents.py">retrieve</a>(agent_id) -> <a href="./src/inty/types/api/v1/ai/agent.py">Agent</a></code>
111112
- <code title="put /api/v1/ai/agents/{agent_id}">client.api.v1.ai.agents.<a href="./src/inty/resources/api/v1/ai/agents.py">update</a>(agent_id, \*\*<a href="src/inty/types/api/v1/ai/agent_update_params.py">params</a>) -> <a href="./src/inty/types/api/v1/ai/agent.py">Agent</a></code>
112113
- <code title="get /api/v1/ai/agents/me">client.api.v1.ai.agents.<a href="./src/inty/resources/api/v1/ai/agents.py">list</a>(\*\*<a href="src/inty/types/api/v1/ai/agent_list_params.py">params</a>) -> <a href="./src/inty/types/api/v1/ai/agent_list_response.py">AgentListResponse</a></code>

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "inty"
3-
version = "0.18.0"
3+
version = "0.19.0"
44
description = "The official Python library for the inty API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -39,7 +39,7 @@ Homepage = "https://github.com/NascentCore/inty-python"
3939
Repository = "https://github.com/NascentCore/inty-python"
4040

4141
[project.optional-dependencies]
42-
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.8"]
42+
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
4343

4444
[tool.rye]
4545
managed = true

requirements-dev.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ httpx==0.28.1
5656
# via httpx-aiohttp
5757
# via inty
5858
# via respx
59-
httpx-aiohttp==0.1.8
59+
httpx-aiohttp==0.1.9
6060
# via inty
6161
idna==3.4
6262
# via anyio

requirements.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ httpcore==1.0.9
4343
httpx==0.28.1
4444
# via httpx-aiohttp
4545
# via inty
46-
httpx-aiohttp==0.1.8
46+
httpx-aiohttp==0.1.9
4747
# via inty
4848
idna==3.4
4949
# via anyio

src/inty/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "inty"
4-
__version__ = "0.18.0" # x-release-please-version
4+
__version__ = "0.19.0" # x-release-please-version

src/inty/resources/api/v1/ai/agents.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
from .....types.api.v1.ai.api_response_agent import APIResponseAgent
3434
from .....types.api.v1.ai.model_config_param import ModelConfigParam
3535
from .....types.api.v1.ai.agent_list_response import AgentListResponse
36+
from .....types.api.v1.ai.agent_create_response import AgentCreateResponse
3637
from .....types.api.v1.ai.agent_meta_data_param import AgentMetaDataParam
3738
from .....types.api.v1.ai.api_response_pagination_data_agent import APIResponsePaginationDataAgent
3839

@@ -98,7 +99,7 @@ def create(
9899
extra_query: Query | None = None,
99100
extra_body: Body | None = None,
100101
timeout: float | httpx.Timeout | None | NotGiven = not_given,
101-
) -> APIResponseAgent:
102+
) -> AgentCreateResponse:
102103
"""
103104
Create new AI agent, used by app and inty-eval
104105
@@ -171,7 +172,7 @@ def create(
171172
options=make_request_options(
172173
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
173174
),
174-
cast_to=APIResponseAgent,
175+
cast_to=AgentCreateResponse,
175176
)
176177

177178
def retrieve(
@@ -669,7 +670,7 @@ async def create(
669670
extra_query: Query | None = None,
670671
extra_body: Body | None = None,
671672
timeout: float | httpx.Timeout | None | NotGiven = not_given,
672-
) -> APIResponseAgent:
673+
) -> AgentCreateResponse:
673674
"""
674675
Create new AI agent, used by app and inty-eval
675676
@@ -742,7 +743,7 @@ async def create(
742743
options=make_request_options(
743744
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
744745
),
745-
cast_to=APIResponseAgent,
746+
cast_to=AgentCreateResponse,
746747
)
747748

748749
async def retrieve(

src/inty/resources/v2/chat.py

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from __future__ import annotations
44

5+
import typing_extensions
56
from typing import Iterable, Optional
67

78
import httpx
@@ -43,6 +44,7 @@ def with_streaming_response(self) -> ChatResourceWithStreamingResponse:
4344
"""
4445
return ChatResourceWithStreamingResponse(self)
4546

47+
@typing_extensions.deprecated("deprecated")
4648
def send_message(
4749
self,
4850
agent_id: str,
@@ -113,6 +115,7 @@ def with_streaming_response(self) -> AsyncChatResourceWithStreamingResponse:
113115
"""
114116
return AsyncChatResourceWithStreamingResponse(self)
115117

118+
@typing_extensions.deprecated("deprecated")
116119
async def send_message(
117120
self,
118121
agent_id: str,
@@ -167,33 +170,41 @@ class ChatResourceWithRawResponse:
167170
def __init__(self, chat: ChatResource) -> None:
168171
self._chat = chat
169172

170-
self.send_message = to_raw_response_wrapper(
171-
chat.send_message,
173+
self.send_message = ( # pyright: ignore[reportDeprecated]
174+
to_raw_response_wrapper(
175+
chat.send_message, # pyright: ignore[reportDeprecated],
176+
)
172177
)
173178

174179

175180
class AsyncChatResourceWithRawResponse:
176181
def __init__(self, chat: AsyncChatResource) -> None:
177182
self._chat = chat
178183

179-
self.send_message = async_to_raw_response_wrapper(
180-
chat.send_message,
184+
self.send_message = ( # pyright: ignore[reportDeprecated]
185+
async_to_raw_response_wrapper(
186+
chat.send_message, # pyright: ignore[reportDeprecated],
187+
)
181188
)
182189

183190

184191
class ChatResourceWithStreamingResponse:
185192
def __init__(self, chat: ChatResource) -> None:
186193
self._chat = chat
187194

188-
self.send_message = to_streamed_response_wrapper(
189-
chat.send_message,
195+
self.send_message = ( # pyright: ignore[reportDeprecated]
196+
to_streamed_response_wrapper(
197+
chat.send_message, # pyright: ignore[reportDeprecated],
198+
)
190199
)
191200

192201

193202
class AsyncChatResourceWithStreamingResponse:
194203
def __init__(self, chat: AsyncChatResource) -> None:
195204
self._chat = chat
196205

197-
self.send_message = async_to_streamed_response_wrapper(
198-
chat.send_message,
206+
self.send_message = ( # pyright: ignore[reportDeprecated]
207+
async_to_streamed_response_wrapper(
208+
chat.send_message, # pyright: ignore[reportDeprecated],
209+
)
199210
)

0 commit comments

Comments
 (0)