Drop redundant system prompt — all info is in memory nodes
The system prompt duplicated what's already in core-personality and other memory nodes. Moving everything to memory means it's all trainable data rather than hardcoded strings. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
b646221787
commit
125927e2f1
8 changed files with 10 additions and 67 deletions
|
|
@ -157,7 +157,6 @@ impl ScreenView for ConsciousScreen {
|
|||
lines.push(Line::raw(format!(" {:53} {:>6} tokens", "────────", "──────")));
|
||||
lines.push(Line::raw(format!(" {:53} {:>6} tokens", "Total", total)));
|
||||
} else if let Some(ref info) = app.context_info {
|
||||
lines.push(Line::raw(format!(" System prompt: {:>6} chars", info.system_prompt_chars)));
|
||||
lines.push(Line::raw(format!(" Context message: {:>6} chars", info.context_message_chars)));
|
||||
}
|
||||
lines.push(Line::raw(""));
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ struct ContextInfo {
|
|||
available_models: Vec<String>,
|
||||
prompt_file: String,
|
||||
backend: String,
|
||||
system_prompt_chars: usize,
|
||||
context_message_chars: usize,
|
||||
}
|
||||
|
||||
|
|
@ -519,10 +518,6 @@ pub struct CliArgs {
|
|||
#[arg(long)]
|
||||
pub show_config: bool,
|
||||
|
||||
/// Override all prompt assembly with this file
|
||||
#[arg(long)]
|
||||
pub system_prompt_file: Option<PathBuf>,
|
||||
|
||||
/// Project memory directory
|
||||
#[arg(long)]
|
||||
pub memory_project: Option<PathBuf>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue