move journal types from agent/journal.rs to thought/context.rs
JournalEntry, parse_journal, parse_journal_text, parse_header_timestamp, and default_journal_path consolidated into thought/context.rs. Delete the duplicate agent/journal.rs (235 lines). Update all references. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
e0a54a3b43
commit
01bfbc0dad
6 changed files with 82 additions and 247 deletions
|
|
@ -17,7 +17,7 @@ use anyhow::Result;
|
|||
use tiktoken_rs::CoreBPE;
|
||||
|
||||
use crate::agent::api::ApiClient;
|
||||
use crate::agent::journal;
|
||||
use crate::thought::context as journal;
|
||||
use crate::agent::log::ConversationLog;
|
||||
use crate::agent::api::StreamEvent;
|
||||
use crate::agent::tools;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue