Skip to content

Commit

Permalink
🔄 synced local 'skyvern/' with remote 'skyvern/'
Browse files Browse the repository at this point in the history
<!-- ELLIPSIS_HIDDEN -->

| 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit 46e054d10558e17d53814c48eaff0349c7f7294a  |
|--------|--------|

### Summary:
This PR enhances logging and error handling in `scripts/run_task.py` and `skyvern/webeye/actions/models.py`, including a new log statement for task retryability.

**Key points**:
- Enhanced logging in `scripts/run_task.py` for detailed output after task execution.
- Added log statement to check if a task is retryable in `scripts/run_task.py`.
- Updated `skyvern/webeye/actions/models.py` to include `step_exception` in `get_clean_detailed_output` method.
- Improved error handling and logging for task auto-restart scenarios.

----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
ykeremy committed Aug 28, 2024
1 parent b5d743d commit ae37a58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skyvern/webeye/actions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def get_clean_detailed_output(self) -> DetailedAgentStepOutput:
actions_and_results=None
if self.actions_and_results is None
else [(action, result) for action, result in self.actions_and_results if result],
step_exception=self.step_exception,
)

def to_agent_step_output(self) -> AgentStepOutput:
Expand Down

0 comments on commit ae37a58

Please sign in to comment.