feat(bot): improve prompt-building and help command handling

- Added a default system prompt and adjusted the structure to use XML for clarity.
- Improved help command handling by simplifying triggers and updating responses.
- Enhanced NixOS configuration with support for optional custom instructions.
This commit is contained in:
Harald Hoyer 2026-02-03 17:39:31 +01:00
parent 9342933987
commit f25aab2441
2 changed files with 33 additions and 10 deletions

View file

@ -7,6 +7,8 @@
nextcloudUrl = "https://nc.hoyer.xyz";
botSecretFile = config.sops.secrets."nextcloud-claude-bot/secret".path;
allowedUsers = []; # Allow all registered users
# Optional extra instructions (base prompt is hardcoded in bot.py)
# systemPrompt = "Additional custom instructions here";
};
sops.secrets."nextcloud-claude-bot/secret" = {