Skip to content

Commit 0f623db

Browse files
fix pylint issue
1 parent eeef63f commit 0f623db

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/api/agents/conversation_agent_factory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from plugins.chat_with_data_plugin import ChatWithDataPlugin
88
from services.chat_service import ChatService
99

10+
1011
class ConversationAgentFactory:
1112
_lock = asyncio.Lock()
1213
_agent: Optional[AzureAIAgent] = None
@@ -57,4 +58,4 @@ async def delete_agent(cls):
5758
except Exception as e:
5859
print(f"Failed to delete thread {thread_id} for conversation {conversation_id}: {e}", flush=True)
5960
await cls._agent.client.agents.delete_agent(cls._agent.id)
60-
cls._agent = None
61+
cls._agent = None

src/api/agents/search_agent_factory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from common.config.config import Config
99

10+
1011
class SearchAgentFactory:
1112
_lock = asyncio.Lock()
1213
_agent: Optional[dict] = None

src/api/plugins/chat_with_data_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from helpers.azure_openai_helper import get_azure_openai_client
2424
from agents.search_agent_factory import SearchAgentFactory
2525

26+
2627
class ChatWithDataPlugin:
2728
def __init__(self):
2829
config = Config()

0 commit comments

Comments
 (0)