Skip to content

Conversation

@MichaelAnders
Copy link

Lynkr failed most of the time for me: responses took ages, very many errors in the log output - unusable (remote RTX 3090).
With these changes (&thx to Claude), Ollama interactions are now fast (ollama is done - you get the response) and no more errors!

MichaelAnders and others added 5 commits January 17, 2026 10:47
Enhanced logging in load-shedding middleware and server initialization
to provide better visibility into system resource management.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Enhanced resource cleanup across multiple components including session
management, caching, and client connections. Added proper cleanup handlers
and improved shutdown procedures to prevent memory leaks.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Improved heap usage calculation and memory tracking to prevent false
positives in load shedding logic. Enhanced budget management and
compression handling for more accurate memory monitoring.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fixed constraint violation in memory extractor that was causing
database errors when entity types exceeded allowed values.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…acters

Enhanced the prepareFTS5Query() function to sanitize all special characters
that could cause FTS5 syntax errors, including pipes (|), commas (,), and
other punctuation marks that appear in markdown tables and formatted text.

Changes:
- Expanded character removal regex to include: | , + = ? ! ; / \ @ # $ % ^ & { }
- Added additional safety check to remove any remaining non-alphanumeric characters
- Prevents "fts5: syntax error near ','" errors when searching with complex queries

The fix resolves FTS5 syntax errors that occurred when Claude CLI sent
messages containing markdown tables or other formatted text with special
characters.
@MichaelAnders
Copy link
Author

One issue to fix with claude versions above 2.1.7

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