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
//! Headspace (playground config) schema: active profile, model parameters,
//! API keys, execution context.
//!
//! Used by `headspace.rs` (the faculty CLI) and by any runtime that needs
//! to read the active model profile, system prompt, persona id, or related
//! settings from a pile.
use id_hex;
use LongString;
use ;
use *;
pub const DEFAULT_MODEL: &str = "gpt-oss:120b";
pub const DEFAULT_BASE_URL: &str = "http://localhost:11434/v1";
pub const DEFAULT_STREAM: bool = false;
pub const DEFAULT_CONTEXT_WINDOW_TOKENS: u64 = 32 * 1024;
pub const DEFAULT_MAX_OUTPUT_TOKENS: u64 = 1024;
pub const DEFAULT_CONTEXT_SAFETY_MARGIN_TOKENS: u64 = 512;
pub const DEFAULT_CHARS_PER_TOKEN: u64 = 4;
/// Minimal starting prompt used when no system prompt has been configured.
/// Intentionally short and generic — specific agent runtimes should override
/// this with their own prompt via `headspace set system-prompt @<file>`.
pub const DEFAULT_SYSTEM_PROMPT: &str = "You are a terminal-based agent. Respond with exactly one shell command per turn. You can include an optional leading comment block for context. Faculties are executable helper scripts in ./faculties; run them with no arguments to see usage and prefer them over ad-hoc commands when applicable.";
pub const DEFAULT_BRANCH: &str = "cognition";
pub const DEFAULT_AUTHOR: &str = "agent";
pub const DEFAULT_AUTHOR_ROLE: &str = "user";
pub const DEFAULT_POLL_MS: u64 = 1;
pub const CONFIG_BRANCH: &str = "config";
pub const KIND_CONFIG_ID: Id = id_hex!;
pub const KIND_MODEL_PROFILE_ID: Id = id_hex!;