Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zvonimir Sabljic committed Aug 12, 2024
1 parent dcdb1b6 commit 12f47d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/agents/spec_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ async def update_spec(self, iteration_mode) -> AgentResponse:
default="yes",
buttons_only=True,
)
await self.ui.close_diff()
if hasattr(self.ui, "close_diff"):
await self.ui.close_diff()

if user_response.button == "yes":
self.next_state.specification = self.current_state.specification.clone()
Expand Down

0 comments on commit 12f47d3

Please sign in to comment.