Add OpenCode provider integration and strict model selection

This commit is contained in:
Konan69
2026-03-05 15:24:20 +01:00
parent c7c96feef7
commit 6a101e0da1
55 changed files with 2225 additions and 104 deletions

View File

@@ -0,0 +1,22 @@
import { cn } from "../lib/utils";
interface OpenCodeLogoIconProps {
className?: string;
}
export function OpenCodeLogoIcon({ className }: OpenCodeLogoIconProps) {
return (
<>
<img
src="/brands/opencode-logo-light-square.svg"
alt="OpenCode"
className={cn("dark:hidden", className)}
/>
<img
src="/brands/opencode-logo-dark-square.svg"
alt="OpenCode"
className={cn("hidden dark:block", className)}
/>
</>
);
}