-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContextForge.config.example.json
More file actions
101 lines (81 loc) · 3.03 KB
/
ContextForge.config.example.json
File metadata and controls
101 lines (81 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"_comment": "Copy this file to contextforge.config.json and fill in your values. Never commit your real config — it's gitignored.",
"version": "0.2",
"server": {
"port": 7842,
"host": "localhost"
},
"llm": {
"_comment": "Supported backends: openai, anthropic, grok, ollama, custom",
"backend": "anthropic",
"model": "claude-opus-4-6",
"api_key_env": "ANTHROPIC_API_KEY",
"max_tokens": 300,
"temperature": 0.85,
"_ollama_example": "If using ollama, set backend to 'ollama' and set ollama_url below",
"ollama_url": "http://localhost:11434/api/chat",
"_custom_example": "If using a custom endpoint, set backend to 'custom' and set custom_endpoint below",
"custom_endpoint": ""
},
"voice": {
"_comment": "Set tts_enabled/stt_enabled to false to disable either independently",
"tts_enabled": true,
"stt_enabled": true,
"_tts_comment": "Supported TTS backends: elevenlabs, openai, pyttsx3, custom",
"tts_backend": "elevenlabs",
"_stt_comment": "Supported STT backends: whisper_api, whisper_local, custom",
"stt_backend": "whisper_api",
"tts": {
"_elevenlabs": "ElevenLabs — best quality. Get your voice_id from elevenlabs.io/voice-library",
"api_key_env": "ELEVENLABS_API_KEY",
"voice_id": "onwK4e9ZLuTAKqWW03F9",
"model_id": "eleven_monolingual_v1",
"stability": 0.45,
"similarity_boost": 0.75,
"style": 0.35,
"_openai": "OpenAI TTS — swap tts_backend to 'openai' and set these",
"model": "tts-1-hd",
"voice": "onyx",
"speed": 0.95,
"_pyttsx3": "pyttsx3 — local/offline, no API key. Swap tts_backend to 'pyttsx3'",
"rate": 165,
"volume": 1.0,
"voice_index": 0,
"_custom": "Custom TTS endpoint — swap tts_backend to 'custom'",
"custom_tts_endpoint": ""
},
"stt": {
"_whisper_api": "Whisper via OpenAI API — accurate, costs a tiny amount per minute",
"api_key_env": "OPENAI_API_KEY",
"language": "en",
"_whisper_local": "Local Whisper — free, runs on your machine. Swap stt_backend to 'whisper_local'",
"whisper_model": "base",
"_silence": "Stop recording after this much quiet",
"silence_threshold": 0.01,
"silence_duration": 1.5,
"_custom": "Custom STT endpoint — swap stt_backend to 'custom'",
"custom_stt_endpoint": ""
}
},
"dm": {
"_comment": "Filled in automatically during first-launch onboarding. You can set these manually to skip it.",
"name": null,
"gender": null,
"onboarding_complete": false
},
"memory": {
"enabled": true,
"storage_path": "./memory/",
"max_session_history": 50,
"cross_game_memory": true,
"_comment_player_id": "Change this if you want multiple player profiles on the same machine.",
"player_id": "default_player"
},
"overlay": {
"enabled": true,
"position": "bottom_right",
"opacity": 0.9,
"hotkey": "F9"
},
"heartbeat_interval_seconds": 30
}