Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle case when the agent can't parse the task JSON #18

Open
bohdan-shulha opened this issue Jun 23, 2024 · 0 comments
Open

Handle case when the agent can't parse the task JSON #18

bohdan-shulha opened this issue Jun 23, 2024 · 0 comments
Labels

Comments

@bohdan-shulha
Copy link
Contributor

Currently, if the agent can't parse the task, the task will be forever in the "running" state and the agent wouldn't be able to pick up new tasks.

Should a separate endpoint like /tasks/1/fail-last be created?

Add Task ID to the response headers, so that the agent can fail the task?

Something else?

@bohdan-shulha bohdan-shulha changed the title Handle case then the agent can't parse the task JSON Handle case when the agent can't parse the task JSON Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant