microsoft-agents-hosting-aiohttp 0.6.0.dev1__py3-none-any.whl → 0.6.0.dev7__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.
- microsoft_agents/hosting/aiohttp/app/streaming/streaming_response.py +3 -2
- {microsoft_agents_hosting_aiohttp-0.6.0.dev1.dist-info → microsoft_agents_hosting_aiohttp-0.6.0.dev7.dist-info}/METADATA +2 -2
- {microsoft_agents_hosting_aiohttp-0.6.0.dev1.dist-info → microsoft_agents_hosting_aiohttp-0.6.0.dev7.dist-info}/RECORD +6 -6
- {microsoft_agents_hosting_aiohttp-0.6.0.dev1.dist-info → microsoft_agents_hosting_aiohttp-0.6.0.dev7.dist-info}/WHEEL +0 -0
- {microsoft_agents_hosting_aiohttp-0.6.0.dev1.dist-info → microsoft_agents_hosting_aiohttp-0.6.0.dev7.dist-info}/licenses/LICENSE +0 -0
- {microsoft_agents_hosting_aiohttp-0.6.0.dev1.dist-info → microsoft_agents_hosting_aiohttp-0.6.0.dev7.dist-info}/top_level.txt +0 -0
|
@@ -250,10 +250,10 @@ class StreamingResponse:
|
|
|
250
250
|
await self._queue_sync
|
|
251
251
|
|
|
252
252
|
def _set_defaults(self, context: "TurnContext"):
|
|
253
|
-
if context.activity.channel_id
|
|
253
|
+
if Channels.ms_teams == context.activity.channel_id.channel:
|
|
254
254
|
self._is_streaming_channel = True
|
|
255
255
|
self._interval = 1.0
|
|
256
|
-
elif context.activity.channel_id
|
|
256
|
+
elif Channels.direct_line == context.activity.channel_id.channel:
|
|
257
257
|
self._is_streaming_channel = True
|
|
258
258
|
self._interval = 0.5
|
|
259
259
|
elif context.activity.delivery_mode == DeliveryModes.stream:
|
|
@@ -284,6 +284,7 @@ class StreamingResponse:
|
|
|
284
284
|
entities=[
|
|
285
285
|
Entity(
|
|
286
286
|
type="streaminfo",
|
|
287
|
+
stream_id=self._stream_id,
|
|
287
288
|
stream_type="final",
|
|
288
289
|
stream_sequence=self._sequence_number,
|
|
289
290
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-aiohttp
|
|
3
|
-
Version: 0.6.0.
|
|
3
|
+
Version: 0.6.0.dev7
|
|
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.
|
|
18
|
+
Requires-Dist: microsoft-agents-hosting-core==0.6.0.dev7
|
|
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=
|
|
12
|
-
microsoft_agents_hosting_aiohttp-0.6.0.
|
|
13
|
-
microsoft_agents_hosting_aiohttp-0.6.0.
|
|
14
|
-
microsoft_agents_hosting_aiohttp-0.6.0.
|
|
15
|
-
microsoft_agents_hosting_aiohttp-0.6.0.
|
|
16
|
-
microsoft_agents_hosting_aiohttp-0.6.0.
|
|
11
|
+
microsoft_agents/hosting/aiohttp/app/streaming/streaming_response.py,sha256=vRF3s3MaInb6ITU-ibfbsjIdLEcje0fsFG8n11dSYJ4,13833
|
|
12
|
+
microsoft_agents_hosting_aiohttp-0.6.0.dev7.dist-info/licenses/LICENSE,sha256=ws_MuBL-SCEBqPBFl9_FqZkaaydIJmxHrJG2parhU4M,1141
|
|
13
|
+
microsoft_agents_hosting_aiohttp-0.6.0.dev7.dist-info/METADATA,sha256=LmAsQkCKwRRMHOWmwWJ43ecOPSaVoiZJb730v0KCYDc,8378
|
|
14
|
+
microsoft_agents_hosting_aiohttp-0.6.0.dev7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
15
|
+
microsoft_agents_hosting_aiohttp-0.6.0.dev7.dist-info/top_level.txt,sha256=lWKcT4v6fTA_NgsuHdNvuMjSrkiBMXohn64ApY7Xi8A,17
|
|
16
|
+
microsoft_agents_hosting_aiohttp-0.6.0.dev7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|