mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
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:
5 files changed
+38
-27
No files matched your search
@@ -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: {},
|
||||
};
|
||||
Reference in new issue
Block a user