Skip to content

Commit 6523d89

Browse files
committed
Remove websocket streaming and unused kernel creation
Deleted the websocket_streaming.py module and removed the create_kernel method from AppConfig, as the system now uses Azure AI Agent Project pattern. Added placeholder files for messages_af.py and utils_af.py to support future Azure Foundry integration.
1 parent a47b0a2 commit 6523d89

File tree

4 files changed

+1
-226
lines changed

4 files changed

+1
-226
lines changed

src/backend/common/config/app_config.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from azure.cosmos import CosmosClient
88
from azure.identity import DefaultAzureCredential, ManagedIdentityCredential
99
from dotenv import load_dotenv
10-
from semantic_kernel import Kernel
10+
1111

1212
# Load environment variables from .env file
1313
load_dotenv()
@@ -215,17 +215,6 @@ def get_cosmos_database_client(self):
215215
)
216216
raise
217217

218-
def create_kernel(self):
219-
"""Creates a new Semantic Kernel instance.
220-
221-
Returns:
222-
A new Semantic Kernel instance
223-
"""
224-
# Create a new kernel instance without manually configuring OpenAI services
225-
# The agents will be created using Azure AI Agent Project pattern instead
226-
kernel = Kernel()
227-
return kernel
228-
229218
def get_ai_project_client(self):
230219
"""Create and return an AIProjectClient for Azure AI Foundry using from_connection_string.
231220

src/backend/common/models/messages_af.py

Whitespace-only changes.

src/backend/common/utils/utils_af.py

Whitespace-only changes.

src/backend/common/utils/websocket_streaming.py

Lines changed: 0 additions & 214 deletions
This file was deleted.

0 commit comments

Comments
 (0)