Skip to content

Commit ce2181b

Browse files
committed
remove unused variable
1 parent 190da71 commit ce2181b

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

app/scenario_planning.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -662,13 +662,6 @@ def _render_flow_fallback(payloads: dict[str, Any]) -> None:
662662
actor_profile = payloads.get("actor_profile")
663663
actor_status = payloads.get("actor_status")
664664
persona_payload = payloads.get("persona") or {}
665-
if actor_profile:
666-
profile = _primary_actor_profile(actor_profile)
667-
strategic_style = dict(profile.get("strategic_style") or {})
668-
action_prefs = list(profile.get("action_preferences") or [])
669-
else:
670-
st.info("Actor profile artifact unavailable. Showing derivation from simulation output.")
671-
672665
has_persona_content = _render_persona_panel(persona_payload)
673666
persona_path = Path(paths.get("persona") or "")
674667
PERSONA_EXISTS = persona_path.exists()

sample/app/scenario_planning.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -676,13 +676,6 @@ def _render_flow_fallback(payloads: dict[str, Any]) -> None:
676676
actor_profile = payloads.get("actor_profile")
677677
actor_status = payloads.get("actor_status")
678678
persona_payload = payloads.get("persona") or {}
679-
if actor_profile:
680-
profile = _primary_actor_profile(actor_profile)
681-
strategic_style = dict(profile.get("strategic_style") or {})
682-
action_prefs = list(profile.get("action_preferences") or [])
683-
else:
684-
st.info("Actor profile artifact unavailable. Showing derivation from simulation output.")
685-
686679
has_persona_content = _render_persona_panel(persona_payload)
687680
persona_path = Path(paths.get("persona") or "")
688681
PERSONA_EXISTS = persona_path.exists()

0 commit comments

Comments
 (0)