Skip to content

Performance improvements + wake-word listening fix - #11

Open
CatSchoko wants to merge 1 commit into
Bitshank-2338:mainfrom
CatSchoko:feature/performance-and-fixes
Open

Performance improvements + wake-word listening fix#11
CatSchoko wants to merge 1 commit into
Bitshank-2338:mainfrom
CatSchoko:feature/performance-and-fixes

Conversation

@CatSchoko

Copy link
Copy Markdown
Contributor

Performance:

  • Smaller screenshot (1280→1024px) — less upload/tokens
  • Shorter per-app history (20→10 messages)
  • Ollama: keep_alive + full GPU offload + thread count
  • Pooled httpx connections for Ollama/LM Studio (no per-request handshake)
  • TTS prefetch — next sentence synthesizes while current one plays

Fixes:

  • Wake-word capture now ends as soon as the user stops talking, instead of always waiting out a fixed 10s timeout
  • Softened the "MULTI-STEP TASKS" prompt rule — smaller local models were over-applying "Say 'next' when ready" to every response

Tested locally with LM Studio (qwen2.5-vl-7b) + whisper.cpp medium.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant