Skip to content

Lexicon v0.5.19

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 22 Jul 04:08

v0.5.19 - Shared System Prompt Parity Across Inference Backends

Changes Made:

  • Unified System Instructions: Defined a single module-level SYSTEM_PROMPT constant in backend/inference.py enforced across both local bundled GGUF models and external Ollama servers.
  • Ollama System Field Inclusion: Passed top-level "system": SYSTEM_PROMPT to Ollama /api/generate requests, preventing external models (llama3, mistral, deepseek-r1, qwen2.5) from outputting conversational preamble or reasoning chatter.
  • Architectural Prompt Parity: Refactored BundledBackend and OllamaBackend to reference the single source of truth constant, guaranteeing complete behavioral parity and preventing prompt drift.