Commit Graph

29 Commits

Author SHA1 Message Date
5747c4255c Memory Continuation Context 2026-07-21 21:12:36 +07:00
d556ce2ea9 Improve tool calling 2026-07-18 02:14:07 +07:00
77458626e7 Merge branch 'master' of https://gitea.ditaajipratama.net/aji/hendrik 2026-07-17 13:48:30 +07:00
dba98e6fd8 cleanup a small prompts 2026-07-16 10:46:35 +07:00
465a689bb5 Red zone 2026-07-15 09:47:48 +07:00
bee5f61fd7 Fixing missing introduction issue 2026-07-14 06:21:54 +07:00
ed23a5ceb2 user load 2026-07-14 05:43:42 +07:00
96993adaee New fields 2026-07-13 17:07:55 +07:00
2da4fe26c4 farewell 2026-07-13 16:30:24 +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
4995412bc1 Forcing to read the memories 2026-07-11 17:20:59 +07:00
27b64a3a54 Auto-search user info with services ID 2026-07-07 17:17:50 +07:00
9993f1f0e7 Fixing tools calling failure 2026-07-03 10:45:00 +07:00
059445de5e Cleanup refactor 2026-06-23 11:23:04 +07:00
7aa1f56124 Refactoring 2026-06-22 11:39:11 +07:00
6725b7bf0c Renaming persona into personality 2026-06-21 11:47:34 +07:00
dd4c6c674d Unbuffered output 2026-06-18 08:12:59 +07:00
07dd99ded4 pakai agent loop yang modular 2026-06-16 22:49:00 +07:00
fe065f74d6 Extend more idle session time if Direct Message 2026-06-14 12:54:50 +07:00
540e166e89 Huge refactor 2026-06-14 10:56:55 +07:00
30f65f8c3f Ugh refactor (Work in Progress: config skills masih berantakan) 2026-06-12 14:10:06 +07:00
432a8b2059 Fixing nohup issue 2026-06-10 21:13:15 +07:00
a22fe1b9e7 Minor change 2026-06-10 20:43:43 +07:00
b2240d304e Persona, Selective Response, Mention Response 2026-06-10 17:15:25 +07:00
8a0363b985 Persona 2026-06-10 15:12:50 +07:00
41ec8287f7 feat: add custom MUC nickname & handle 409 Conflict error
- Add XMPP_NICKNAME config in .env for custom MUC nick (fallback to JID username)
- Add _get_muc_nick() helper: resolve nick with suffix fallback on conflict
- Add _is_my_nick() helper: compare presence nick with expected nick per room
- Handle 409 Conflict in _on_session_start: try nick alternatives (lily_, lily__)
- Handle 409 Conflict in _muc_rejoin_coro: try nick alternatives with max 3 attempts
- Stop retry when all nick variations exhausted (anti-ban: avoid infinite retry)
- Reset nick suffix counter on successful join
- Update _on_groupchat_message filter to use _is_my_nick()
2026-06-10 11:11:27 +07:00
93dd74d1b4 feat: add humanize delays & anti-ban MUC rejoin mechanism
- Add READ_DELAY_MIN/MAX config for reading delay (1-2s random)
- Add TYPING_SPEED/MAX config for proporsional typing delay
- Add reading delay before processing DM & MUC messages
- Add typing delay before sending any XMPP message (proporsional to msg length)
- Add auto-rejoin MUC on unavailable/error with exponential backoff
- Add retry join on session_start with incremental delay (3 attempts)
- Add cooldown between rejoin attempts to prevent join-spam
- Cancel pending rejoin tasks on disconnect
- Reset rejoin counter on successful join
2026-06-10 10:54:56 +07:00
23348440b1 XMPP feature 2026-06-08 02:41:29 +07:00