Skip to content

Commit c80e452

Browse files
Fix pylint issue
1 parent 2205d86 commit c80e452

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/api/agents/agent_factory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from azure.identity.aio import DefaultAzureCredential
1313
from services.chat_service import ChatService
1414

15+
1516
class AgentFactory:
1617
"""
1718
Singleton factory for creating and managing an AzureAIAgent instance.

src/api/services/chat_service.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
logging.basicConfig(level=logging.INFO)
2828
logger = logging.getLogger(__name__)
2929

30+
3031
class ExpCache(TTLCache):
3132
"""
3233
Extended TTLCache that associates an agent and deletes Azure AI agent threads when items expire or are evicted (LRU).
@@ -64,7 +65,9 @@ class ChatService:
6465
Service for handling chat interactions, including streaming responses,
6566
processing RAG responses, and generating chart data for visualization.
6667
"""
68+
6769
thread_cache = None
70+
6871
def __init__(self, request : Request):
6972
config = Config()
7073
self.azure_openai_endpoint = config.azure_openai_endpoint

0 commit comments

Comments
 (0)