craft fix

This commit is contained in:
2026-01-31 18:49:08 -05:00
parent 80bbfbe58e
commit 9acd38c94b
9 changed files with 1535 additions and 102 deletions

View File

@@ -14,7 +14,19 @@ module.exports = {
"swing": {},
},
"ai":{
// AI provider: 'gemini' (default) or 'ollama'
"provider": "gemini",
// Gemini API key (required if using gemini provider)
"key": "<configure in secrets>",
// Ollama settings (only used if provider is 'ollama')
"baseUrl": "http://localhost:11434",
"model": "llama3.2", // Default for Ollama; for Gemini use gemini-2.0-flash-exp, etc.
"timeout": 30000,
// Generation settings (applies to both providers)
"temperature": 1,
"topP": 0.95,
"topK": 64,
"maxOutputTokens": 8192,
"interval": 20,
"prompts":{
"custom": (name, interval, currentPlayers, custom)=>`