Skip to content

Commit 49c4996

Browse files
authored
Update agent_edit.py
1 parent 4bc68af commit 49c4996

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

agent_edit.py

+3
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ def edit_agent_properties(agent: dict, teams: list, agents_base_dir: str) -> Non
221221
st.session_state["trigger_rerun"] = True
222222
st.session_state[f"save_clicked_{edit_index}"] = False
223223

224+
# Mark the agent as saved
225+
agent["saved"] = True
226+
224227
# Find the index of the current team in the teams list
225228
current_team_index = teams.index(st.session_state.get("current_team", "agents"))
226229
move_to_team = st.selectbox(

0 commit comments

Comments
 (0)