mawkone 7a601b57b8 fix: rotate Gitea token and prevent empty assistant messages in history
- Empty message fix: skip pushing assistant msg to history when both
  content and tool_calls are absent (GLM-5 mid-reasoning token exhaustion).
  Also filter preexisting empty assistant messages from returned history.
- System prompt now correctly injects knowledgeContext from opts into the
  Tier-B system message (was missing in the loop's buildMessages).
- GITEA_API_TOKEN updated externally in Coolify (old token was invalid).

Made-with: Cursor
2026-02-27 20:17:34 -08:00
Description
No description provided
9.7 MiB
Languages
TypeScript 99.1%
Dockerfile 0.9%