fix: prevent SageMaker TGI from being marked configured when only Bedrock keys are set (#7284)
Signed-off-by: ibaaaaal rifaldi.51922721@mahasiswa.unikom.ac.id Co-authored-by: Lifei Zhou <lifei@squareup.com>
This commit is contained in:
@@ -18,7 +18,13 @@ interface CostTrackerProps {
|
||||
provider: string | null;
|
||||
}
|
||||
|
||||
export function CostTracker({ inputTokens = 0, outputTokens = 0, sessionCosts, model: currentModel, provider: currentProvider }: CostTrackerProps) {
|
||||
export function CostTracker({
|
||||
inputTokens = 0,
|
||||
outputTokens = 0,
|
||||
sessionCosts,
|
||||
model: currentModel,
|
||||
provider: currentProvider,
|
||||
}: CostTrackerProps) {
|
||||
const [costInfo, setCostInfo] = useState<ModelInfoData | null>(null);
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [showPricing, setShowPricing] = useState(true);
|
||||
|
||||
Reference in New Issue
Block a user