MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / getStatusColor

Function getStatusColor

app/src/components/fineTunes/FineTunesTable.tsx:101–110  ·  view source on GitHub ↗
(status: FineTuneStatus)

Source from the content-addressed store, hash-verified

99export default FineTunesTable;
100
101const getStatusColor = (status: FineTuneStatus) => {
102 switch (status) {
103 case "DEPLOYED":
104 return "green.500";
105 case "ERROR":
106 return "red.500";
107 default:
108 return "yellow.500";
109 }
110};
111
112export const FTStatus = (props: { status: FineTuneStatus }) => {
113 const statusText = (status: FineTuneStatus) => {

Callers 1

FTStatusFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected