Spaces:
Running
Running
Commit
·
d62d36c
1
Parent(s):
60064c6
atualizar placeholders dos campos de entrada para chave API, URL base e modelo personalizado
Browse files
components/editor/ask-ai/settings.tsx
CHANGED
|
@@ -92,7 +92,7 @@ export function Settings({
|
|
| 92 |
</p>
|
| 93 |
<Input
|
| 94 |
type="password"
|
| 95 |
-
placeholder="Enter your
|
| 96 |
value={apiKey}
|
| 97 |
onChange={(e) => setApiKey(e.target.value)}
|
| 98 |
className="!bg-neutral-800 !border-neutral-700 !text-neutral-200"
|
|
@@ -104,7 +104,7 @@ export function Settings({
|
|
| 104 |
</p>
|
| 105 |
<Input
|
| 106 |
type="text"
|
| 107 |
-
placeholder="e.g.,
|
| 108 |
value={baseUrl}
|
| 109 |
onChange={(e) => setBaseUrl(e.target.value)}
|
| 110 |
className="!bg-neutral-800 !border-neutral-700 !text-neutral-200"
|
|
@@ -116,8 +116,8 @@ export function Settings({
|
|
| 116 |
</p>
|
| 117 |
<Input
|
| 118 |
type="text"
|
| 119 |
-
placeholder="e.g.,
|
| 120 |
-
value={customModel || "
|
| 121 |
onChange={(e) => setCustomModel(e.target.value)}
|
| 122 |
className="!bg-neutral-800 !border-neutral-700 !text-neutral-200"
|
| 123 |
/>
|
|
|
|
| 92 |
</p>
|
| 93 |
<Input
|
| 94 |
type="password"
|
| 95 |
+
placeholder="Enter your api key"
|
| 96 |
value={apiKey}
|
| 97 |
onChange={(e) => setApiKey(e.target.value)}
|
| 98 |
className="!bg-neutral-800 !border-neutral-700 !text-neutral-200"
|
|
|
|
| 104 |
</p>
|
| 105 |
<Input
|
| 106 |
type="text"
|
| 107 |
+
placeholder="e.g., http://127.0.0.1:11434/v1"
|
| 108 |
value={baseUrl}
|
| 109 |
onChange={(e) => setBaseUrl(e.target.value)}
|
| 110 |
className="!bg-neutral-800 !border-neutral-700 !text-neutral-200"
|
|
|
|
| 116 |
</p>
|
| 117 |
<Input
|
| 118 |
type="text"
|
| 119 |
+
placeholder="e.g., gemma3:1b"
|
| 120 |
+
value={customModel || "gemma3:1b"}
|
| 121 |
onChange={(e) => setCustomModel(e.target.value)}
|
| 122 |
className="!bg-neutral-800 !border-neutral-700 !text-neutral-200"
|
| 123 |
/>
|