Skip to content

Commit 300e4b0

Browse files
committed
docs: add v0.49.2 changelog entry
1 parent e5b2a82 commit 300e4b0

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## v0.49.2 (2026-05-25) — Prompt Trimming & Web UI Context
4+
5+
### Intelligence Improvements
6+
- **ANTI-PATTERN block compacted**`cmd/odek/main.go`: trimmed from 342→186 chars. Removed verbose examples ("If a user asks 'what is odek's website?'") — a compact warning is equally effective and saves ~150 tokens per session.
7+
- **Web UI platform context expanded**`runtime.go`: expanded from 2→8 lines. Web users now get guidance on real-time streaming, markdown rendering, reload behavior, and visual output conventions — equivalent to Telegram's rich platform context.
8+
9+
### Testing
10+
- `TestDefaultSystem_AntiPatternIsConcise` — guards ANTI-PATTERN block length under 250 chars
11+
- `TestBuildRuntimeContext_WebHasRichInstructions` — verifies web context has meaningful platform guidance (300+ chars with streaming, markdown, visual keywords)
12+
313
## v0.49.1 (2026-05-25) — Verification Contradiction Fix
414

515
### Bug Fixes

0 commit comments

Comments
 (0)