Default to OpenCode Zen with big-pickle model for zero-config first experience

Pre-configure OpenCode Zen as the default AI provider so new users can
submit prompts immediately without any setup. Sends x-opencode-* headers
to qualify for the higher daily rate limit tier.
This commit is contained in:
Alex Gleason committed 2026-04-04 01:26:07 -05:00
1 parent c359eda1d6
commit 0a2cbf4bca
5 files changed
+38 -27

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import type { AISettings } from '@/contexts/AISettingsContext';
import { AI_PROVIDER_PRESETS } from '@/lib/aiProviderPresets';
const opencodePreset = AI_PROVIDER_PRESETS.find((p) => p.id === 'opencode')!;
/** Default AI settings with OpenCode Zen pre-configured and big-pickle selected. */
export const OPENCODE_DEFAULT_SETTINGS: AISettings = {
providers: [
{
id: opencodePreset.id,
name: opencodePreset.name,
baseURL: opencodePreset.baseURL,
proxy: opencodePreset.proxy,
},
],
recentlyUsedModels: ['opencode/big-pickle'],
mcpServers: {},
};