Commit
·
af1b4ff
1
Parent(s):
a646596
- src/App.tsx +2 -0
- src/lib/data.ts +11 -6
src/App.tsx
CHANGED
@@ -182,6 +182,7 @@ const App: React.FC = () => {
|
|
182 |
id="inputTokens"
|
183 |
type="number"
|
184 |
value={inputTokens}
|
|
|
185 |
onChange={(e) => setInputTokens(Number(e.target.value))}
|
186 |
className="mt-1"
|
187 |
/>
|
@@ -194,6 +195,7 @@ const App: React.FC = () => {
|
|
194 |
id="outputTokens"
|
195 |
type="number"
|
196 |
value={outputTokens}
|
|
|
197 |
onChange={(e) => setOutputTokens(Number(e.target.value))}
|
198 |
className="mt-1"
|
199 |
/>
|
|
|
182 |
id="inputTokens"
|
183 |
type="number"
|
184 |
value={inputTokens}
|
185 |
+
min={1}
|
186 |
onChange={(e) => setInputTokens(Number(e.target.value))}
|
187 |
className="mt-1"
|
188 |
/>
|
|
|
195 |
id="outputTokens"
|
196 |
type="number"
|
197 |
value={outputTokens}
|
198 |
+
min={1}
|
199 |
onChange={(e) => setOutputTokens(Number(e.target.value))}
|
200 |
className="mt-1"
|
201 |
/>
|
src/lib/data.ts
CHANGED
@@ -101,12 +101,17 @@ export const mockData: Provider[] = [
|
|
101 |
],
|
102 |
},
|
103 |
{
|
104 |
-
provider:
|
105 |
-
uri:
|
106 |
-
models: [
|
107 |
-
{ name:
|
108 |
-
{ name:
|
109 |
-
|
|
|
|
|
|
|
|
|
|
|
110 |
},
|
111 |
{
|
112 |
provider: 'Fireworks',
|
|
|
101 |
],
|
102 |
},
|
103 |
{
|
104 |
+
provider: "Groq",
|
105 |
+
uri: "https://wow.groq.com/",
|
106 |
+
models: [
|
107 |
+
{ name: "Llama 3 8B 8k", inputPrice: 0.05, outputPrice: 0.08 },
|
108 |
+
{ name: "Llama 3 70B 8k", inputPrice: 0.59, outputPrice: 0.79 },
|
109 |
+
{ name: "Llama 3 8B 8192 Tool Use", inputPrice: 0.19, outputPrice: 0.19 },
|
110 |
+
{ name: "Llama 3 70B 8192 Tool Use", inputPrice: 0.89, outputPrice: 0.89 },
|
111 |
+
{ name: "Mixtral 8x7B 32k Instruct", inputPrice: 0.24, outputPrice: 0.24 },
|
112 |
+
{ name: "Gemma 7B Instruct", inputPrice: 0.07, outputPrice: 0.07 },
|
113 |
+
{ name: "Gemma2 9b Instruct", inputPrice: 0.20, outputPrice: 0.20 }
|
114 |
+
]
|
115 |
},
|
116 |
{
|
117 |
provider: 'Fireworks',
|