Commit Graph

18 Commits

Author SHA1 Message Date
1077381a4a feat: init_db on startup, fix users_update UUID, memories_latest limit 6, incremental profile + cross-platform instructions 2026-07-12 18:13:08 +07:00
099cab60fb feat: change user reference from nickname to UUID in memories
- Change user field type from pyarrow.string() to pyarrow.uuid() in
  knowledge_memories and knowledge_scenario schemas
- Convert user to UUID via _uuid() in memories_store()
- Use UUID hex comparison in memories_filter() and memories_latest()
- Rename user to user_id in memories tool schemas with UUID description
- Convert user to UUID in memories tool handlers
- Add User ID (UUID) to User Context in telegram and xmpp clients
- Update roleplayer instructions to use user_id with UUID instead of
  nickname
2026-07-12 13:39:39 +07:00
2c65c51ec9 feat: add salutation field to user profile
- Add salutation field to knowledge_user schema (after alias, nullable)
- Update users_store() to accept and store salutation
- Add salutation to users_store and users_update tool schemas
- Add salutation to users_filter output display
- Add Salutation to User Context in telegram and xmpp clients
2026-07-12 13:38:02 +07:00
f72533dcc3 feat: remove general-purpose RAG tools (rag.py)
- Delete tools/rag.py (general document ingestion/search)
- Delete ragroleplay_table_create.py (replaced by lazy table creation)
- Remove rag import and 7 tool registrations from hendrik.py
- Remove RAG_PERSIST_DIR and RAG_MODEL_PATH from config.py
- Remove rag section from default-config.yaml
2026-07-12 13:34:40 +07:00
8126258344 memories_latest tools 2026-07-11 10:42:56 +07:00
99d4f1d900 Improve ragroleplay 2026-07-11 05:59:55 +07:00
a77c1cfbba Still fixing uuid issues 2026-07-07 16:59:16 +07:00
5dee3ad8fa memories 2026-07-07 06:03:21 +07:00
03221ca119 Improving RAG 2026-06-24 17:11:03 +07:00
5b89345f8a Not important modify 2026-06-16 18:36:18 +07:00
b2240d304e Persona, Selective Response, Mention Response 2026-06-10 17:15:25 +07:00
dc5fb67ac1 feat: add git policy - never auto commit without user permission
- Add git policy section in system prompt (gadget.py): no auto git add/commit
- Add policy warning in git_operation tool description (coder.py)
- LLM must ask user before running git add or git commit
- Safe commands (git status, git diff, git log) can run without asking
- When user asks to commit: show changes first, then wait for confirmation
2026-06-10 11:27:59 +07:00
4492612f2b Merge branch 'carrack' 2026-06-08 09:32:16 +07:00
6e88d051bc Unfinished chungking features 2026-06-08 09:27:38 +07:00
c2b0fe1b8a Send HTTP request function 2026-06-07 20:19:40 +07:00
315cd77639 feat: hybrid collection management — agent can create/delete/list collections via prompt, remove RAG_COLLECTIONS config, switch to ONNX MiniLM embedding (local, no API) 2026-05-25 10:25:06 +07:00
534c4fccdc feat: add Agent-Initiative RAG with ChromaDB — 4 tools (store/search/list/inspect), Ollama embeddings, schema-agnostic metadata storage 2026-05-22 09:15:55 +07:00
b583b7546a First commit 2026-05-02 21:08:42 +07:00