mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-03 07:57:22 +00:00
19 lines
584 B
TypeScript
19 lines
584 B
TypeScript
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: {},
|
|
};
|