chore: comments fixes
dipi.evil committed
Dec 19, 2025 at 10:34 UTC
8639ef19e6dce415b22f6d48308ab934d7f92baa
1 file changed
+2
-1
python/api/api_message.py
+2
-1
@@ -37,7 +37,7 @@ class ApiMessage(ApiHandler):
37
project_name = input.get("project_name", None)
38
agent_profile = input.get("agent_profile", None)
39
40
- # Initialize agent if profile provided
40
+ # Set an agent if profile provided
41
override_settings = {}
42
if agent_profile:
43
override_settings["agent_profile"] = agent_profile
@@ -85,6 +85,7 @@ class ApiMessage(ApiHandler):
85
AgentContext.use(context.id)
86
context_id = context.id
87
88
+ # Activate project if provided
89
if project_name:
90
activate_project(context_id, project_name)
91