elsa-workflows / elsa-workflows/elsa-core

Elsa Agent Activity: Still waiting after Copywriter activity has failed.

Open
#6,450 1 comment 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

## Description
I'm applying Elsa Agents and running a workflow with the Copywriter activity. When an error occurs in this activity, it doesn’t get marked as failed but remains in a running state.

## Steps to Reproduce
To help us identify the issue more quickly, please follow these guidelines:

1. **Detailed Steps**:
- I configured the Elsa Agent following the documentation in this link: [Orchestrating Intelligent Agents with Elsa Workflows](https://sipkeschoorstra.medium.com/orchestrating-intelligent-agents-with-elsa-workflows-f3346b91dc17).
- Change value of ApiKeys Value in appsetting.json.
`{
"Agents": {
"ApiKeys": [
{
"Name": "MyApiKey",
"Value": "my-api-key"
}
],...........
}`
- Run a workflow with Copywriter activity.
2. **Reproduction Rate**: every time.

3. **Video/Screenshots**:
- Error: This is my apikey error.

![Image](https://github.com/user-attachments/assets/44fd0611-4ca0-49e1-ae1e-2391e889c924)

- Workflow Instance:

![Image](https://github.com/user-attachments/assets/5a60e888-4571-47f6-884d-9e28eb080c46)

## Expected Behavior
When an error occurs during an AI API call, the activity should be marked as failed.

## Environment
- **Elsa Package Version**: 3.3.4
- **Operating System**: Windows 10
- **Browser and Version**: Chrome 92

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.