consciousness/src
Kent Overstreet e9765799c4 Move tool definitions into ContextState as system entries
Tool definitions are now pushed as a ContextEntry in the system
section at Agent construction time, formatted in the Qwen chat
template style. They're tokenized, scored, and treated like any
other context entry.

assemble_prompt_tokens() no longer takes a tools parameter —
tools are already in the context. This prepares for the switch
to /v1/completions where tools aren't a separate API field.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-08 11:36:33 -04:00
..
agent Move tool definitions into ContextState as system entries 2026-04-08 11:36:33 -04:00
bin split out src/mind 2026-04-04 02:46:32 -04:00
claude Fix stale pid reaper: check /proc/pid/cmdline to detect PID reuse 2026-04-08 09:18:21 -04:00
cli Kill log callback — use ConversationEntry::Log for debug traces 2026-04-07 01:23:22 -04:00
hippocampus Subconscious: persistent agent state, store activity queries 2026-04-07 19:03:05 -04:00
learn rust edition 2024 2026-04-05 06:20:16 -04:00
mind Fix input blocked during scoring: release agent lock before disk write 2026-04-07 22:32:10 -04:00
subconscious Replace token counting with token generation via HuggingFace tokenizer 2026-04-08 11:20:03 -04:00
thalamus Upgrade capnp 0.20 → 0.25, capnp-rpc 0.20 → 0.25 2026-04-07 12:29:44 -04:00
user Replace token counting with token generation via HuggingFace tokenizer 2026-04-08 11:20:03 -04:00
config.rs training: per-node scoring with graph weight updates 2026-04-05 01:18:47 -04:00
lib.rs user: InteractScreen extracted, all screens use ScreenView trait 2026-04-05 18:57:54 -04:00
main.rs Replace token counting with token generation via HuggingFace tokenizer 2026-04-08 11:20:03 -04:00
session.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
util.rs delete 20 dead public functions across 12 files 2026-04-02 16:21:01 -04:00