microsoft-agents-hosting-fastapi 1.3.0__tar.gz → 1.4.0.dev10__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.
Files changed (22) hide show
  1. {microsoft_agents_hosting_fastapi-1.3.0/microsoft_agents_hosting_fastapi.egg-info → microsoft_agents_hosting_fastapi-1.4.0.dev10}/PKG-INFO +2 -2
  2. microsoft_agents_hosting_fastapi-1.4.0.dev10/VERSION.txt +1 -0
  3. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/microsoft_agents/hosting/fastapi/cloud_adapter.py +5 -1
  4. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/microsoft_agents/hosting/fastapi/jwt_authorization_middleware.py +0 -1
  5. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10/microsoft_agents_hosting_fastapi.egg-info}/PKG-INFO +2 -2
  6. microsoft_agents_hosting_fastapi-1.4.0.dev10/microsoft_agents_hosting_fastapi.egg-info/requires.txt +3 -0
  7. microsoft_agents_hosting_fastapi-1.3.0/VERSION.txt +0 -1
  8. microsoft_agents_hosting_fastapi-1.3.0/microsoft_agents_hosting_fastapi.egg-info/requires.txt +0 -3
  9. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/LICENSE +0 -0
  10. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/MANIFEST.in +0 -0
  11. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/microsoft_agents/hosting/fastapi/__init__.py +0 -0
  12. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/microsoft_agents/hosting/fastapi/_fastapi_request_adapter.py +0 -0
  13. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/microsoft_agents/hosting/fastapi/_start_agent_process.py +0 -0
  14. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/microsoft_agents/hosting/fastapi/agent_http_adapter.py +0 -0
  15. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/microsoft_agents/hosting/fastapi/channel_service_route_table.py +0 -0
  16. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/microsoft_agents_hosting_fastapi.egg-info/SOURCES.txt +0 -0
  17. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/microsoft_agents_hosting_fastapi.egg-info/dependency_links.txt +0 -0
  18. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/microsoft_agents_hosting_fastapi.egg-info/top_level.txt +0 -0
  19. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/pyproject.toml +0 -0
  20. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/readme.md +0 -0
  21. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/setup.cfg +0 -0
  22. {microsoft_agents_hosting_fastapi-1.3.0 → microsoft_agents_hosting_fastapi-1.4.0.dev10}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microsoft-agents-hosting-fastapi
3
- Version: 1.3.0
3
+ Version: 1.4.0.dev10
4
4
  Summary: Integration library for Microsoft Agents with FastAPI
5
5
  Author: Microsoft Corporation
6
6
  License-Expression: MIT
@@ -10,7 +10,7 @@ Classifier: Operating System :: OS Independent
10
10
  Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
- Requires-Dist: microsoft-agents-hosting-core==1.3.0
13
+ Requires-Dist: microsoft-agents-hosting-core==1.4.0.dev10
14
14
  Requires-Dist: fastapi>=0.104.0
15
15
  Requires-Dist: starlette>=1.0.1
16
16
  Dynamic: license-file
@@ -0,0 +1 @@
1
+ 1.4.0.dev10
@@ -25,16 +25,20 @@ class CloudAdapter(HttpAdapterBase, AgentHttpAdapter):
25
25
  *,
26
26
  connection_manager: Connections | None = None,
27
27
  channel_service_client_factory: ChannelServiceClientFactoryBase | None = None,
28
+ channel_service_client_factory_options: dict | None = None,
28
29
  ):
29
30
  """
30
31
  Initializes a new instance of the CloudAdapter class.
31
32
 
32
33
  :param connection_manager: Optional connection manager for OAuth.
33
- :param channel_service_client_factory: The factory to use to create the channel service client.
34
+ :param channel_service_client_factory: Factory for creating channel service clients.
35
+ :param channel_service_client_factory_options: Optional dictionary of options to pass to the channel service client factory
36
+ This is only used if channel_service_client_factory is not provided and connection_manager is provided.
34
37
  """
35
38
  super().__init__(
36
39
  connection_manager=connection_manager,
37
40
  channel_service_client_factory=channel_service_client_factory,
41
+ channel_service_client_factory_options=channel_service_client_factory_options,
38
42
  )
39
43
 
40
44
  async def process(self, request: Request, agent: Agent) -> Optional[Response]:
@@ -6,7 +6,6 @@ import inspect
6
6
 
7
7
  from fastapi import Request
8
8
  from fastapi.responses import JSONResponse
9
-
10
9
  from starlette.types import ASGIApp, Receive, Scope, Send
11
10
 
12
11
  from microsoft_agents.hosting.core import AgentAuthConfiguration
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microsoft-agents-hosting-fastapi
3
- Version: 1.3.0
3
+ Version: 1.4.0.dev10
4
4
  Summary: Integration library for Microsoft Agents with FastAPI
5
5
  Author: Microsoft Corporation
6
6
  License-Expression: MIT
@@ -10,7 +10,7 @@ Classifier: Operating System :: OS Independent
10
10
  Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
- Requires-Dist: microsoft-agents-hosting-core==1.3.0
13
+ Requires-Dist: microsoft-agents-hosting-core==1.4.0.dev10
14
14
  Requires-Dist: fastapi>=0.104.0
15
15
  Requires-Dist: starlette>=1.0.1
16
16
  Dynamic: license-file
@@ -0,0 +1,3 @@
1
+ microsoft-agents-hosting-core==1.4.0.dev10
2
+ fastapi>=0.104.0
3
+ starlette>=1.0.1
@@ -1 +0,0 @@
1
- 1.3.0
@@ -1,3 +0,0 @@
1
- microsoft-agents-hosting-core==1.3.0
2
- fastapi>=0.104.0
3
- starlette>=1.0.1