8000 feat: add idle app status by code-asher · Pull Request #18415 · coder/coder · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add idle app status #18415

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

Merged
merged 3 commits into from
Jun 20, 2025
Merged

feat: add idle app status #18415

merged 3 commits into from
Jun 20, 2025

Conversation

code-asher
Copy link
Member
@code-asher code-asher commented Jun 17, 2025

"Idle" is more accurate than "complete" since:

  1. AgentAPI only knows if the screen is active; it has no way of knowing if the task is complete.
  2. The LLM might be done with its current prompt, but that does not mean the task is complete either (it likely needs refinement).

The "complete" state will be reserved for future definition.

Additionally, in the case where the screen goes idle but the LLM never reported a status update, we can get an idle icon without a message, and it looks kinda janky in the UI so if there is no message I display the state text.

Closes coder/internal#699

@code-asher code-asher changed the title feat: add idle AI agent status feat: add idle app status Jun 17, 2025
@code-asher code-asher force-pushed the asher/idle-agent-status branch 2 times, most recently from c649ea1 to 86cf445 Compare June 17, 2025 20:22
@code-asher code-asher requested a review from hugodutka June 17, 2025 20:40
Copy link
Contributor
@hugodutka hugodutka left a comment

Choose a reason for hiding this comment

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

LGTM, pending the down migration

"Idle" is more accurate than "complete" since:

1. AgentAPI only knows if the screen is active; it has no way of knowing
   if the task is complete.
2. The LLM might be done with its current prompt, but that does not mean
   the task is complete either (it likely needs refinement).

The "complete" state will be reserved for
8000
 future definition.
The status row looks janky with just the icon.  We can get into a "no
message" state if the LLM never reported a status update.
Also bump migration number since new ones have merged since.
@code-asher code-asher force-pushed the asher/idle-agent-status branch from 86cf445 to b64af42 Compare June 20, 2025 22:11
@code-asher code-asher merged commit 0a483ea into main Jun 20, 2025
38 of 39 checks passed
@code-asher code-asher deleted the asher/idle-agent-status branch June 20, 2025 22:34
@github-actions github-actions bot locked and limited conversation to collaborators Jun 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update the status in the Tasks page from Complete to Idle for Agents waiting on input
2 participants
0