mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
fix(frontend): V1 resume conversation / agent (#11627)
This commit is contained in:
parent
6411d4df94
commit
9a7002d817
@ -56,7 +56,8 @@ export function AgentStatus({
|
||||
|
||||
const shouldShownAgentStop = curAgentState === AgentState.RUNNING;
|
||||
|
||||
const shouldShownAgentResume = curAgentState === AgentState.STOPPED;
|
||||
const shouldShownAgentResume =
|
||||
curAgentState === AgentState.STOPPED || curAgentState === AgentState.PAUSED;
|
||||
|
||||
// Update global state when agent loading condition changes
|
||||
useEffect(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user