Skip to content

Conversation

@keugenek
Copy link
Collaborator

  • Introduce is_diff_state property to determine if the FSM is in a diff state.
  • Update is_completed logic to include FSMState.COMPLETE.
  • Modify completion event handling to account for cases with no diff.

keugenek added 5 commits May 16, 2025 10:50
- Introduce is_diff_state property to determine if the FSM is in a diff state.
- Update is_completed logic to include FSMState.COMPLETE.
- Modify completion event handling to account for cases with no diff.
- Remove is_diff_state property and simplify completion event logic.
- Update conditions for sending completion events based on is_completed status.
@pffigueiredo
Copy link
Collaborator

Should we update agent_api.tsp as well?

keugenek added 7 commits May 16, 2025 13:14
- Introduced _template_diff_sent to track if the initial template diff has been sent.
- Added _state_diff_hash to cache the last sent diff hash for each FSM state, preventing duplicate sends.
- Updated logic in get_app_diff to skip sending unchanged diffs for the same FSM state.
@keugenek keugenek merged commit 3f75df9 into main May 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants