Private
Public Access
1
0
Catherine Renelle dbe351ac45 Fix AI ignoring tool results and page context in follow-ups
Two issues caused the AI to lose context in multi-turn conversations:

1. Page context was a system message buried before 20 conversation
   messages. Now it's injected directly into the user's message so
   the model sees the data right next to the question.

2. Prior tool results were replayed with role="tool", which many
   Ollama models ignore in conversation history. Now they're replayed
   as assistant messages with a [Tool Result] prefix so the model
   reliably reads them.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 19:32:37 -05:00
S
Description
No description provided
MIT 1.5 MiB
Languages
C# 65%
Vue 30.2%
TypeScript 4.6%
Dockerfile 0.2%