delete dead flat-file journal tool and ephemeral stripping
Journal entries are written to the memory graph via journal_new/ journal_update, not appended to a flat file. Remove thought/journal.rs (67 lines), strip_ephemeral_tool_calls (55 lines), default_journal_path, and all wiring. -141 lines. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
aceaf0410e
commit
809679b6ce
5 changed files with 1 additions and 142 deletions
|
|
@ -15,13 +15,6 @@ pub struct JournalEntry {
|
|||
pub content: String,
|
||||
}
|
||||
|
||||
/// Default journal file path (used by the write path only).
|
||||
pub fn default_journal_path() -> std::path::PathBuf {
|
||||
dirs::home_dir()
|
||||
.unwrap_or_default()
|
||||
.join(".consciousness/journal.md")
|
||||
}
|
||||
|
||||
/// Look up a model's context window size in tokens.
|
||||
pub fn model_context_window(_model: &str) -> usize {
|
||||
crate::config::get().api_context_window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue