diff --git a/frontend/chat.py b/frontend/chat.py index 98c248c..7716a04 100644 --- a/frontend/chat.py +++ b/frontend/chat.py @@ -6,7 +6,8 @@ from backend.managers.system_prompter import SystemPrompter # ── Agent Mode helpers ──────────────────────────────────────────────────────── def _start_agent(task: str): - """Initialise a fresh CodingAgent, start the task, and propose the first action.""" + """Initialise a fresh CodingAgent, start the task, + and propose the first action.""" from backend.agent.coding_agent import CodingAgent agent = CodingAgent() agent.start_task(task) @@ -18,7 +19,8 @@ def _start_agent(task: str): def _approve_action(): - """Execute the pending action, append it to the log, then propose the next step.""" + """Execute the pending action, + append it to the log, then propose the next step.""" agent = st.session_state.coding_agent pending = st.session_state.agent_pending_action diff --git a/frontend/sidebar.py b/frontend/sidebar.py index a824f09..8cc1975 100644 --- a/frontend/sidebar.py +++ b/frontend/sidebar.py @@ -179,7 +179,7 @@ def render_sidebar(): folder_rel = st.session_state.selected_folder_rel with st.container(border=True): - st.caption(f"📁 {folder_name}") + st.write(f"**Folder actions:** 📁 {folder_name}") if st.button("Add File", key="btn_add_file_in_folder", use_container_width=True): _add_file_dialog(folder_rel) if st.button("Add Folder", key="btn_add_folder_in_folder", use_container_width=True): @@ -188,7 +188,7 @@ def render_sidebar(): _delete_folder_dialog(folder_rel, folder_name) with add_more: - with st.popover("⚙️ Explorer Options", key="popover_options"): + with st.popover("⚙️ Explorer Options", key="popover_options", use_container_width=True): if st.button("Add File", key="btn_add_file", use_container_width=True): _add_file_dialog("")