Browse Source

Fix pricing details

Saoud Rizwan 1 year ago
parent
commit
32cba39f68
1 changed files with 2 additions and 2 deletions
  1. 2 2
      webview-ui/src/components/ApiOptions.tsx

+ 2 - 2
webview-ui/src/components/ApiOptions.tsx

@@ -597,8 +597,8 @@ const ModelInfoView = ({ selectedModelId, modelInfo }: { selectedModelId: string
 						style={{
 							fontStyle: "italic",
 						}}>
-						* Free up to {selectedModelId === geminiDefaultModelId ? "15" : "2"} requests per minute. After
-						that, billing depends on prompt size.{" "}
+						* Free up to {selectedModelId && selectedModelId.includes("flash") ? "15" : "2"} requests per
+						minute. After that, billing depends on prompt size.{" "}
 						<VSCodeLink
 							href="https://ai.google.dev/pricing"
 							style={{ display: "inline", fontSize: "inherit" }}>