Skip to content

Commit bb11f43

Browse files
fix
1 parent b8badbd commit bb11f43

5 files changed

Lines changed: 7 additions & 11 deletions

File tree

libraries/microsoft-agents-a365-tooling-extensions-agentframework/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,13 @@ from microsoft_agents_a365.tooling.extensions.agentframework import (
102102
)
103103

104104
async def main():
105-
# Initialize with custom logger and credentials
105+
# Initialize with custom logger
106106
import logging
107-
from azure.identity import DefaultAzureCredential
108107

109108
logger = logging.getLogger("my-agent")
110-
credential = DefaultAzureCredential()
111109

112110
service = McpToolRegistrationService(
113-
logger=logger,
114-
credential=credential
111+
logger=logger
115112
)
116113

117114
# Create Azure OpenAI chat client

libraries/microsoft-agents-a365-tooling-extensions-agentframework/microsoft_agents_a365/tooling/extensions/agentframework/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copyright (c) Microsoft Corporation.
2-
# Licensed under the MIT License.
1+
# Copyright (c) Microsoft. All rights reserved.
32

43
"""
54
Agent 365 Tooling Agent Framework Extensions

libraries/microsoft-agents-a365-tooling-extensions-agentframework/microsoft_agents_a365/tooling/extensions/agentframework/services/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copyright (c) Microsoft Corporation.
2-
# Licensed under the MIT License.
1+
# Copyright (c) Microsoft. All rights reserved.
32

43
"""
54
Services module for Agent Framework tooling.

libraries/microsoft-agents-a365-tooling-extensions-agentframework/microsoft_agents_a365/tooling/extensions/agentframework/services/mcp_tool_registration_service.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copyright (c) Microsoft Corporation.
2-
# Licensed under the MIT License.
1+
# Copyright (c) Microsoft. All rights reserved.
32

43
from typing import Optional, List, Any
54
import logging

libraries/microsoft-agents-a365-tooling-extensions-agentframework/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ dependencies = [
2828
"agent-framework-azure-ai >= 0.1.0",
2929
"azure-identity >= 1.12.0",
3030
"typing-extensions >= 4.0.0",
31+
"protobuf >= 5.0.0",
32+
"googleapis-common-protos >= 1.60.0",
3133
]
3234

3335
[project.urls]

0 commit comments

Comments
 (0)