Commit Graph

87 Commits

Author SHA1 Message Date
9d617b4702 Merge branch 'master' of https://gitea.ditaajipratama.net/aji/hendrik 2026-06-26 11:14:39 +07:00
dd1e33512f Fixing false dir path on configuration 2026-06-26 11:14:17 +07:00
1dba9e32f2 Fixing tool calling failure issue 2026-06-26 10:00:24 +07:00
3babef4276 Fixing prompt cancelation 2026-06-25 15:51:38 +07:00
4f4e686ca1 Improve UI 2026-06-25 15:50:40 +07:00
03221ca119 Improving RAG 2026-06-24 17:11:03 +07:00
059445de5e Cleanup refactor 2026-06-23 11:23:04 +07:00
28bd27f79c Cleanup function 2026-06-22 11:54:17 +07:00
fb52623d3e Better modular execute_tool for TUI agent 2026-06-22 11:47:29 +07:00
7aa1f56124 Refactoring 2026-06-22 11:39:11 +07:00
e26a026e0c New ASCII Art 2026-06-22 11:38:05 +07:00
76d68c0fea Unimportant change 2026-06-22 11:37:23 +07:00
941157a672 Update default-config.yaml 2026-06-22 11:34:35 +07:00
bedb38a45e Turn Hendrik into Formal 2026-06-22 11:33:54 +07:00
6725b7bf0c Renaming persona into personality 2026-06-21 11:47:34 +07:00
b12bd9cf2a Fixing bug tool calling setelah ada perubahan 2026-06-21 11:33:17 +07:00
94c364798f Stream canceling feature 2026-06-21 10:58:50 +07:00
419f2832c8 Fixing UI bug 2026-06-19 14:47:38 +07:00
d9ee874f51 Merge branch 'master' of https://gitea.ditaajipratama.net/aji/hendrik 2026-06-19 13:31:28 +07:00
d54fe171fc Fixing new session error when running multiple hendrik 2026-06-19 13:31:02 +07:00
2c82f972bf Fixing UI bug for a new session 2026-06-18 14:02:11 +07:00
85523c7f6b Output if session db have no model info 2026-06-18 11:57:35 +07:00
dd4c6c674d Unbuffered output 2026-06-18 08:12:59 +07:00
19b128618d Fixing false separator 2026-06-17 17:13:28 +07:00
34527d5438 Fixing minor issues 2026-06-17 16:41:41 +07:00
b954f5a6cb TinyDB Session Manager 2026-06-17 16:00:26 +07:00
017dcd7da0 update gitignore 2026-06-17 15:05:14 +07:00
0bedda1c06 Better config format 2026-06-17 15:04:54 +07:00
07dd99ded4 pakai agent loop yang modular 2026-06-16 22:49:00 +07:00
3b5ef010df Telegram Bot Client 2026-06-16 22:44:10 +07:00
5b89345f8a Not important modify 2026-06-16 18:36:18 +07:00
6d503c2427 Model selector 2026-06-16 14:59:40 +07:00
0fa6fc9db9 Biasa bug yang sama berulang-ulang 2026-06-14 12:55:51 +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
bf59ed5766 prompt update untuk model yang ada reasoning-nya 2026-06-14 10:17:12 +07:00
4058d3954f Merge branch 'master' of https://gitea.ditaajipratama.net/aji/hendrik 2026-06-13 10:17:20 +07:00
6540a88687 Change the project directory 2026-06-13 10:13:01 +07:00
30f65f8c3f Ugh refactor (Work in Progress: config skills masih berantakan) 2026-06-12 14:10:06 +07:00
a91b62c365 Update Hendrik Character 2026-06-12 11:26:07 +07:00
9643b95059 Character script 2026-06-11 15:17:26 +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
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
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
78387899ad New ASCII Art 2026-06-09 13:08:22 +07:00
399850eb3b Improving tool calling information 2026-06-09 11:38:50 +07:00