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

Implement (real-time) datasource for agent run statuses #8782

Open
Tracked by #8774 ...
Pwuts opened this issue Nov 26, 2024 — with Linear · 0 comments
Open
Tracked by #8774 ...

Implement (real-time) datasource for agent run statuses #8782

Pwuts opened this issue Nov 26, 2024 — with Linear · 0 comments
Assignees

Comments

Copy link
Member

Pwuts commented Nov 26, 2024

Currently, the front end subscribes to all graph execution events and does aggregation to derive an execution status. We are now going to use this status in more places, so we should do the aggregation in the back end. The aggregation logic also needs updating because of some new added factors that contribute to the overall "agent status".

Requirements

  • Emits agent execution updates in real time
  • Part of WebSockets API
  • The same info needs to be available through the GET /graphs/{graph_id}/runs REST endpoint
  • Events:
    • New agent run
    • Agent run status updated
      • Queued (can this be combined with "New agent run"?)
      • Running
      • Completed
      • Stopped
      • Failed
    • New agent output item
    • New error (or is this the same as "Failed"?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants