hp-prod-tracker/src
Leivur Djurhuus 78b6d2133e fix: Append tool_result messages to conversation history in tool loop
Each iteration of the tool-calling loop was appending the assistant's
tool_use blocks to conversationMessages but not the corresponding
tool_result blocks. On the next iteration, Claude saw orphaned tool_use
IDs without matching tool_results, causing a 400 error.

Now tool_result blocks are appended directly to conversationMessages
after each iteration, so the full conversation is always well-formed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:35:47 -05:00
..
app fix: Append tool_result messages to conversation history in tool loop 2026-03-12 15:35:47 -05:00
components refactor: Remove Ollama LLM fallback from chat provider 2026-03-12 15:32:11 -05:00
hooks refactor: Remove Ollama LLM fallback from chat provider 2026-03-12 15:32:11 -05:00
lib refactor: Remove Ollama LLM fallback from chat provider 2026-03-12 15:32:11 -05:00
stores Add command palette, bulk operations, error boundaries, responsive sidebar 2026-02-28 21:56:15 -06:00
types Add Auth.js v5 with Google + Microsoft Entra ID SSO 2026-02-28 21:07:38 -06:00
middleware.ts Add dev bypass for authentication checks in middleware and session retrieval 2026-02-28 22:23:14 -06:00