forked from kent/consciousness
Entries with empty token_ids (Thinking, Log) are not part of the prompt and don't have messages. Skip them in streaming_index(), route_entry(), and sync_from_agent() instead of calling .message() which panics. Using token_ids.is_empty() as the guard in streaming_index means the check is tied to the data, not the type — any entry that doesn't produce tokens is safely skipped. Co-Authored-By: Proof of Concept <poc@bcachefs.org> |
||
|---|---|---|
| .. | ||
| chat.rs | ||
| context.rs | ||
| mod.rs | ||
| subconscious.rs | ||
| thalamus.rs | ||
| unconscious.rs | ||
| widgets.rs | ||