2
0
Fork 0
forked from zynk/zynk

Simplify CMake feature loop, adjust AI response limits. (0.40.3)

- Refactored CMake feature configuration: merged the two separate
  foreach loops (one for building _cmd_defs and one for printing status)
  into a single loop, removing redundant iteration. Improved the status
  banner formatting for clearer feature configuration output.
- Reduced AI code mode response limit from 2000 to 1000 chars to keep
  IRC replies concise.
- Increased AI plan mode response limit from 800 to 1000 chars, giving
  slightly more room for explanations.
- Simplified AI plan mode system prompt description for clarity.
- Fixed minor whitespace alignment in README.md command table.
This commit is contained in:
Johannes Findeisen 2026-07-23 21:15:44 +02:00
commit db72b957b8
4 changed files with 29 additions and 22 deletions

View file

@ -167,8 +167,8 @@ rm -rf build
| `!time [timezone]` | Show current time (see below) |
| `!seen <nick>` | Check when a user was last seen |
| `!tell <nick> <message>` | Leave a message for an offline user |
| `!gitlog [count]` | Show recent git commits with links (default: 5, max: 20) |
| `!changelog [count]` | Show changelog entries (default: 1, max: 10) |
| `!gitlog [count]` | Show recent git commits with links (default: 5, max: 20) |
| `!changelog [count]` | Show changelog entries (default: 1, max: 10) |
#### Time (`!time`)
@ -307,7 +307,7 @@ The calculator uses `bc -l` (POSIX arbitrary-precision calculator with the math
| Command | Description |
|-----------------------|-------------------------------------------------------------------------------------|
| `!reload` | Hot reload (preserve IRC session, fork-in-place) |
| `!reload` | Hot reload (preserve IRC session, fork-in-place) |
| `!restart` | Restart the bot (preserves session, same as !reload) |
| `!rebuild [pull]` | Rebuild and restart (ops only, in channels; `pull` runs Git pull before rebuilding) |
| `!code <instruction>` | Make AI-powered code changes |