Repository navigation
v1.2.3
Bug Fixes
-
Fixed True/False quiz buttons showing blank text — Answer labels were invisible because text color was tied to the border color at 40% alpha. Buttons now use a dedicated high-contrast text color.
-
Fixed garbled AI chat responses — The on-device Gemma model was receiving prompts formatted with ChatML tokens (
<|im_start|>) instead of its native Gemma format (<start_of_turn>). This caused incoherent output, factual errors, and leaked control tokens in chat responses. Rewrote prompt formatting to use the correct Gemma chat template. -
Hardened prompt injection sanitization — Added Gemma turn marker stripping alongside existing ChatML token filtering to prevent prompt breakout via either token format.