feat: add board goal context to agent templates
This commit is contained in:
@@ -129,6 +129,13 @@ def _build_context(
|
||||
"agent_name": agent.name,
|
||||
"agent_id": agent_id,
|
||||
"board_id": str(board.id),
|
||||
"board_name": board.name,
|
||||
"board_type": board.board_type,
|
||||
"board_objective": board.objective or "",
|
||||
"board_success_metrics": json.dumps(board.success_metrics or {}),
|
||||
"board_target_date": board.target_date.isoformat() if board.target_date else "",
|
||||
"board_goal_confirmed": str(board.goal_confirmed).lower(),
|
||||
"is_board_lead": str(agent.is_board_lead).lower(),
|
||||
"session_key": session_key,
|
||||
"workspace_path": workspace_path,
|
||||
"base_url": base_url,
|
||||
|
||||
Reference in New Issue
Block a user