microsoft-agents-hosting-aiohttp 0.6.0.dev15__py3-none-any.whl → 0.6.0.dev17__py3-none-any.whl

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.
@@ -251,8 +251,13 @@ class StreamingResponse:
251
251
 
252
252
  def _set_defaults(self, context: "TurnContext"):
253
253
  if Channels.ms_teams == context.activity.channel_id.channel:
254
- self._is_streaming_channel = True
255
- self._interval = 1.0
254
+ if context.activity.is_agentic_request():
255
+ # Agentic requests do not support streaming responses at this time.
256
+ # TODO : Enable streaming for agentic requests when supported.
257
+ self._is_streaming_channel = False
258
+ else:
259
+ self._is_streaming_channel = True
260
+ self._interval = 1.0
256
261
  elif Channels.direct_line == context.activity.channel_id.channel:
257
262
  self._is_streaming_channel = True
258
263
  self._interval = 0.5
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microsoft-agents-hosting-aiohttp
3
- Version: 0.6.0.dev15
3
+ Version: 0.6.0.dev17
4
4
  Summary: Integration library for Microsoft Agents with aiohttp
5
5
  Author: Microsoft Corporation
6
6
  License-Expression: MIT
@@ -15,7 +15,7 @@ Classifier: Operating System :: OS Independent
15
15
  Requires-Python: >=3.10
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: microsoft-agents-hosting-core==0.6.0.dev15
18
+ Requires-Dist: microsoft-agents-hosting-core==0.6.0.dev17
19
19
  Requires-Dist: aiohttp>=3.11.11
20
20
  Dynamic: license-file
21
21
  Dynamic: requires-dist
@@ -8,9 +8,9 @@ microsoft_agents/hosting/aiohttp/app/__init__.py,sha256=TioskqZet16twXOsI3X2snyL
8
8
  microsoft_agents/hosting/aiohttp/app/streaming/__init__.py,sha256=G_VGmQ0m6TkHZsHjRV5HitaCOt2EBEjENIoBYabJMqM,292
9
9
  microsoft_agents/hosting/aiohttp/app/streaming/citation.py,sha256=ZGaMUOWxxoMplwRrkFsjnK7Z12V6rT5odE7qZCu-mP8,498
10
10
  microsoft_agents/hosting/aiohttp/app/streaming/citation_util.py,sha256=c95c3Y3genmFc0vSXppPaD1-ShFohAV1UABZnyJS_BQ,2478
11
- microsoft_agents/hosting/aiohttp/app/streaming/streaming_response.py,sha256=ER_6Yrmqgs8M7NFe98zFUOXwD5BsfNDVGQsX5DDtLxU,13893
12
- microsoft_agents_hosting_aiohttp-0.6.0.dev15.dist-info/licenses/LICENSE,sha256=ws_MuBL-SCEBqPBFl9_FqZkaaydIJmxHrJG2parhU4M,1141
13
- microsoft_agents_hosting_aiohttp-0.6.0.dev15.dist-info/METADATA,sha256=xLI6Sj9PF8NsoK36_lqQsyvjMvcUpRpuI4U6U3ORO3U,8380
14
- microsoft_agents_hosting_aiohttp-0.6.0.dev15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
- microsoft_agents_hosting_aiohttp-0.6.0.dev15.dist-info/top_level.txt,sha256=lWKcT4v6fTA_NgsuHdNvuMjSrkiBMXohn64ApY7Xi8A,17
16
- microsoft_agents_hosting_aiohttp-0.6.0.dev15.dist-info/RECORD,,
11
+ microsoft_agents/hosting/aiohttp/app/streaming/streaming_response.py,sha256=JSJfoQ1ARn-rWKHAABO2dA4soyRR2F8435mj0qioGKQ,14187
12
+ microsoft_agents_hosting_aiohttp-0.6.0.dev17.dist-info/licenses/LICENSE,sha256=ws_MuBL-SCEBqPBFl9_FqZkaaydIJmxHrJG2parhU4M,1141
13
+ microsoft_agents_hosting_aiohttp-0.6.0.dev17.dist-info/METADATA,sha256=rUnZUC9ttdjo69DUGYFVCplcZCdBnnBlEoYyuoeMXhA,8380
14
+ microsoft_agents_hosting_aiohttp-0.6.0.dev17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ microsoft_agents_hosting_aiohttp-0.6.0.dev17.dist-info/top_level.txt,sha256=lWKcT4v6fTA_NgsuHdNvuMjSrkiBMXohn64ApY7Xi8A,17
16
+ microsoft_agents_hosting_aiohttp-0.6.0.dev17.dist-info/RECORD,,