Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/backend/agents/group_chat_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,12 @@ async def _execute_step(self, session_id: str, step: Step):
)

track_event_if_configured(
f"Group Chat Manager - Requesting {step.agent.value.title()} to perform the action and added into the cosmos",
f"Group Chat Manager - Requesting {formatted_agent} to perform the action and added into the cosmos",
{
"session_id": session_id,
"user_id": self._user_id,
"plan_id": step.plan_id,
"content": f"Requesting {step.agent.value.title()} to perform action: {step.action}",
"content": f"Requesting {formatted_agent} to perform action: {step.action}",
"source": "GroupChatManager",
"step_id": step.id,
},
Expand Down
3 changes: 3 additions & 0 deletions src/backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from event_utils import track_event_if_configured
from fastapi.middleware.cors import CORSMiddleware
from azure.monitor.opentelemetry import configure_azure_monitor
from opentelemetry.instrumentation.fastapi import FastAPIInstrumentor


# Check if the Application Insights Instrumentation Key is set in the environment variables
Expand Down Expand Up @@ -52,6 +53,8 @@
# Initialize the FastAPI app
app = FastAPI()

FastAPIInstrumentor.instrument_app(app)

frontend_url = Config.FRONTEND_SITE_NAME

# Add this near the top of your app.py, after initializing the app
Expand Down
Loading