Spaces:
Paused

icebear icebear0828 commited on
Commit
921d606
·
unverified ·
1 Parent(s): 9ffd433

fix: disable desktop context injection by default (#95) (#97)

Browse files

* fix: disable desktop context injection by default (#95)

The proxy was injecting a ~1500 token desktop context system prompt
into every request, inflating prompt_tokens from ~17 to ~1587 for
a simple message. Add `model.inject_desktop_context` config option
(default false) to skip injection unless explicitly enabled.

* docs: update CHANGELOG for #95

* chore: revert unrelated default.yaml changes

---------

Co-authored-by: icebear0828 <icebear0828@users.noreply.github.com>

4 files changed +7
Files changed (4)
CHANGELOG.md+4
config/default.yaml+1
src/config.ts+1
src/translation/shared-utils.ts+1