Skip to content

Commit cd7121b

Browse files
authored
Merge branch 'main' into test/refactor-tests
2 parents 36321d9 + 4a4b4a9 commit cd7121b

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGELOG.md

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

3+
## [0.3.7](https://github.com/a2aproject/a2a-python/compare/v0.3.6...v0.3.7) (2025-09-22)
4+
5+
6+
### Bug Fixes
7+
8+
* jsonrpc client send streaming request header and timeout field ([#475](https://github.com/a2aproject/a2a-python/issues/475)) ([675354a](https://github.com/a2aproject/a2a-python/commit/675354a4149f15eb3ba4ad277ded00ad501766dd))
9+
* Task state is not persisted to task store after client disconnect ([#472](https://github.com/a2aproject/a2a-python/issues/472)) ([5342ca4](https://github.com/a2aproject/a2a-python/commit/5342ca43398ec004597167f6b1a47525b69d1439)), closes [#464](https://github.com/a2aproject/a2a-python/issues/464)
10+
311
## [0.3.6](https://github.com/a2aproject/a2a-python/compare/v0.3.5...v0.3.6) (2025-09-09)
412

513

src/a2a/client/transports/jsonrpc.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,12 @@ async def send_message_streaming(
147147
context,
148148
)
149149

150-
modified_kwargs.setdefault('timeout', None)
150+
modified_kwargs.setdefault(
151+
'timeout', self.httpx_client.timeout.as_dict().get('read', None)
152+
)
153+
headers = dict(self.httpx_client.headers.items())
154+
headers.update(modified_kwargs.get('headers', {}))
155+
modified_kwargs['headers'] = headers
151156

152157
async with aconnect_sse(
153158
self.httpx_client,

0 commit comments

Comments
 (0)