Skip to content

Commit

Permalink
handle loading state
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren committed May 10, 2024
1 parent 72abf36 commit 6573005
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/components/AgentStatusBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ const AgentStatusMap: { [k: string]: { message: string; indicator: string } } =
message: "Agent has paused.",
indicator: "bg-yellow-500",
},
[AgentState.LOADING]: {
message: "Agent is initializing...",
indicator: "bg-yellow-500",
},
[AgentState.STOPPED]: {
message: "Agent has stopped.",
indicator: "bg-red-500",
Expand Down

0 comments on commit 6573005

Please sign in to comment.