mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 12:33:16 -05:00
Keep balanced parentheses in source URLs and decode MCP text arrays before extracting links. This preserves Wikipedia paths and escaped query separators instead of appending truncated citations. Assisted-by: Codex:gpt-6 Signed-off-by: Stefan Walcz <stefan.walcz@walcz.de>