Skip to content

Commit ac6240b

Browse files
Pylint removal
1 parent 1b38395 commit ac6240b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/backend/kernel_agents/agent_factory.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
# Import the new AppConfig instance
88
from app_config import config
9-
from azure.ai.agents.models import (ResponseFormatJsonSchema,
10-
ResponseFormatJsonSchemaType)
9+
1110
from context.cosmos_memory_kernel import CosmosMemoryContext
1211
from kernel_agents.agent_base import BaseAgent
1312
from kernel_agents.generic_agent import GenericAgent
@@ -22,7 +21,7 @@
2221
from kernel_agents.tech_support_agent import TechSupportAgent
2322
from models.messages_kernel import AgentType, PlannerResponsePlan
2423
# pylint:disable=E0611
25-
from semantic_kernel.agents.azure_ai.azure_ai_agent import AzureAIAgent, AzureAIAgentThread
24+
from semantic_kernel.agents.azure_ai.azure_ai_agent import AzureAIAgent
2625

2726
logger = logging.getLogger(__name__)
2827

@@ -265,7 +264,7 @@ async def create_all_agents(
265264
temperature=temperature,
266265
agent_instances=agent_instances, # Pass agent instances to the planner
267266
client=client,
268-
response_format= {
267+
response_format={
269268
"type": "json_schema",
270269
"json_schema": {
271270
"name": PlannerResponsePlan.__name__,

src/backend/kernel_agents/planner_agent.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from semantic_kernel.functions import KernelFunction
2020
from semantic_kernel.functions.kernel_arguments import KernelArguments
2121

22+
2223
class PlannerAgent(BaseAgent):
2324
"""Planner agent implementation using Semantic Kernel.
2425
@@ -165,8 +166,6 @@ async def create(
165166
definition=agent_definition,
166167
)
167168

168-
169-
170169
async def handle_input_task(self, input_task: InputTask) -> str:
171170
"""Handle the initial input task from the user.
172171

0 commit comments

Comments
 (0)