Revert changes to website_setup.py from commit 372bf71

This commit is contained in:
ajaysi
2025-04-17 19:22:29 +05:30
parent 5da0562aa5
commit fa4097c9ae
6 changed files with 277 additions and 280 deletions

View File

@@ -702,8 +702,8 @@ def render_personalization_setup(api_key_manager: APIKeyManager) -> Dict[str, An
st.success("Configuration saved successfully!")
# Navigation buttons with correct arguments
if render_navigation_buttons(4, 5, changes_made=True):
st.session_state.current_step = 5
if render_navigation_buttons(3, 4, changes_made=True):
st.session_state.current_step = 4
st.rerun()
return {"current_step": 4, "changes_made": True}
return {"current_step": 3, "changes_made": True}