-
Notifications
You must be signed in to change notification settings - Fork 28
feat: show when task is taking too long #315
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
Conversation
5fac587 to
f29dfd0
Compare
janepie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Some small things:
- in the chat with Context Agent, there may be more than one task happening (text2text, then a tool call, then a new text2text task). When the first task is picked up, the message disappears and doesn't come up again (maybe for 10 minutes or more). Can we either check for other tasks or keep the warning when it once appears until there is a new chat message?
- I'd clarify what "this" is in the message. Maybe
that Assistant is correctly configured? Wdyt? - nitpick: there is an o missing in
tooLongForScheduling
About this. I'm not sure how I can know which task is the one context agent is currently on. I couldn't find a way to see that. Right now it just makes sure that the first context agent task is actually picked up by context agent.
I had been thinking of maybe mentioning the task name instead, but Assistant is probably best.
Fixed in newest commit |
|
Implemented changes like discussed in meeting to not hide warning once it shows up in the chat. |
8a7e222 to
bdb71ec
Compare
julien-nc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
bdb71ec to
85dd857
Compare
|
Rebased on main |
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
28bb3bc to
ac66c27
Compare
|
@janepie @julien-nc @marcelklehr can this be merged? |
julien-nc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Implements easy part of #306
Does some refactoring of assistant.js for the setProgress function to make the change easier
Also updates nextcloud-vue-libraries due to: nextcloud-libraries/nextcloud-vue#7117
Pictures
The warning in a task


In the last commit also added this to the chat. Same behavior of if scheduled for 5 minutes it will show this warning.