Skip to content

Fix turn action without duration#687

Merged
Flova merged 1 commit intomainfrom
fix/demo_turn_action
May 1, 2025
Merged

Fix turn action without duration#687
Flova merged 1 commit intomainfrom
fix/demo_turn_action

Conversation

@ayin21
Copy link
Copy Markdown
Contributor

@ayin21 ayin21 commented May 1, 2025

During testing the software crashed while running the demo behavior.

@ayin21 ayin21 requested review from Flova and Copilot May 1, 2025 16:26
@github-project-automation github-project-automation Bot moved this to 🆕 New in Software May 1, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses a crash occurring during demo behavior by properly handling the absence of a "duration" parameter in the turn action.

  • The assignment of self.duration now only attempts conversion when "duration" exists in the parameters.
  • The change ensures that a missing "duration" does not lead to a conversion error.

@github-project-automation github-project-automation Bot moved this from 🆕 New to 👀 In review in Software May 1, 2025
@Flova Flova merged commit f21d253 into main May 1, 2025
2 checks passed
@Flova Flova deleted the fix/demo_turn_action branch May 1, 2025 16:28
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in Software May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants