blob: 272231f59eb996f0a2e2a3194d213a64bd23e111 (
plain)
1
2
3
4
5
6
7
8
9
|
use super::super::AgentState;
pub(super) fn detect(content: &str) -> AgentState {
// pi shows "Working..." when the agent is processing
if content.contains("Working...") {
return AgentState::Working;
}
AgentState::Idle
}
|