chore: linting

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-12-09 01:50:08 -08:00
parent a27cd2b966
commit 4f5c1cf070
3 changed files with 34 additions and 12 deletions

View file

@ -677,7 +677,9 @@ export function ModelConfigManager({ searchSpaceId }: ModelConfigManagerProps) {
<Input
id="api_key"
type="password"
placeholder={formData.provider === "OLLAMA" ? "Any value (e.g., ollama)" : "Your API key"}
placeholder={
formData.provider === "OLLAMA" ? "Any value (e.g., ollama)" : "Your API key"
}
value={formData.api_key}
onChange={(e) => handleInputChange("api_key", e.target.value)}
required
@ -733,15 +735,21 @@ export function ModelConfigManager({ searchSpaceId }: ModelConfigManagerProps) {
className="flex items-center gap-2 text-xs text-muted-foreground hover:text-foreground transition-colors"
onClick={() => handleInputChange("api_base", "http://localhost:11434")}
>
<code className="px-1.5 py-0.5 bg-background rounded border">http://localhost:11434</code>
<code className="px-1.5 py-0.5 bg-background rounded border">
http://localhost:11434
</code>
<span> Standard local installation</span>
</button>
<button
type="button"
className="flex items-center gap-2 text-xs text-muted-foreground hover:text-foreground transition-colors"
onClick={() => handleInputChange("api_base", "http://host.docker.internal:11434")}
onClick={() =>
handleInputChange("api_base", "http://host.docker.internal:11434")
}
>
<code className="px-1.5 py-0.5 bg-background rounded border">http://host.docker.internal:11434</code>
<code className="px-1.5 py-0.5 bg-background rounded border">
http://host.docker.internal:11434
</code>
<span> If using SurfSense Docker image</span>
</button>
</div>