Skip to content

Commit a2c77bf

Browse files
resolved the pytlint issue
1 parent bce4832 commit a2c77bf

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/backend/v3/callbacks/response_handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def agent_response_callback(message: ChatMessageContent, user_id: str = None) ->
4444

4545
# Get agent name to determine handling
4646
agent_name = message.name or "Unknown Agent"
47-
47+
4848
logger.info(f"🤖 Agent Response from '{agent_name}' for user: {user_id}")
4949

5050
role = getattr(message, "role", "unknown")
@@ -60,7 +60,7 @@ def agent_response_callback(message: ChatMessageContent, user_id: str = None) ->
6060
tool_name = item.name or "unknown_tool"
6161
tool_args = item.arguments or {}
6262
logger.info(f"🛠️ Tool call: {tool_name} with args: {str(tool_args)[:200]}...")
63-
63+
6464
tool_call = AgentToolCall(
6565
tool_name=tool_name,
6666
arguments=tool_args,

src/backend/v3/magentic_agents/common/lifecycle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def _enter_mcp_if_configured(self) -> None:
8989
# Enter MCP async context via the stack to ensure correct LIFO cleanup
9090
if self._stack is None:
9191
self._stack = AsyncExitStack()
92-
92+
9393
try:
9494
self.mcp_plugin = await self._stack.enter_async_context(plugin)
9595
logger.info(f"✅ MCP plugin '{self.mcp_cfg.name}' successfully initialized")

src/backend/v3/magentic_agents/foundry_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ async def _after_open(self) -> None:
171171

172172
# Add MCP plugins if available
173173
plugins = [self.mcp_plugin] if self.mcp_plugin else []
174-
174+
175175
if self.mcp_plugin:
176176
self.logger.info(f"🔧 Adding MCP plugin to agent: {self.agent_name}")
177177
self.logger.debug(f"MCP plugin name: {getattr(self.mcp_plugin, 'name', 'Unknown')}")

src/backend/v3/orchestration/human_approval_manager.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ def __init__(self, user_id: str, *args, **kwargs):
5353
# Remove any custom kwargs before passing to parent
5454

5555
plan_append = """
56-
56+
5757
IMPORTANT: Never ask the user for information or clarification until all agents on the team have been asked first.
58-
58+
5959
EXAMPLE: If the user request involves product information, first ask all agents on the team to provide the information.
6060
Do not ask the user unless all agents have been consulted and the information is still missing.
61-
61+
6262
Plan steps should always include a bullet point, followed by an agent name, followed by a description of the action
6363
to be taken. If a step involves multiple actions, separate them into distinct steps with an agent included in each step.
6464
If the step is taken by an agent that is not part of the team, such as the MagenticManager, please always list the MagenticManager as the agent for that step. At any time, if more information is needed from the user, use the ProxyAgent to request this information.
65-
65+
6666
Here is an example of a well-structured plan:
6767
- **EnhancedResearchAgent** to gather authoritative data on the latest industry trends and best practices in employee onboarding
6868
- **EnhancedResearchAgent** to gather authoritative data on Innovative onboarding techniques that enhance new hire engagement and retention.

0 commit comments

Comments
 (0)