- Added new model "Claude Opus 4.6" to the provider models.
This commit is contained in:
1 parent
39c555ca7e
commit
e8aa3e21fe
10 files changed
+159
-143
No files matched your search
@@ -5,15 +5,6 @@ import { formatResetTime } from "./utils";
|
||||
|
||||
// Calculate color based on remaining percentage
|
||||
const getColorClasses = (remainingPercentage) => {
|
||||
if (remainingPercentage === 0) {
|
||||
return {
|
||||
text: "text-gray-400",
|
||||
bg: "bg-gray-400",
|
||||
bgLight: "bg-gray-400/10",
|
||||
emoji: "⚫"
|
||||
};
|
||||
}
|
||||
|
||||
if (remainingPercentage > 70) {
|
||||
return {
|
||||
text: "text-green-500",
|
||||
@@ -32,6 +23,7 @@ const getColorClasses = (remainingPercentage) => {
|
||||
};
|
||||
}
|
||||
|
||||
// 0-29% including 0% (out of quota) - show red
|
||||
return {
|
||||
text: "text-red-500",
|
||||
bg: "bg-red-500",
|
||||
|
||||
Reference in new issue
Block a user