IMPLEMENT: use claude-haiku-4-5-20251001 for reconcile queries (closes #234)#244
Closed
DaveHudson wants to merge 2 commits intomainfrom
Closed
IMPLEMENT: use claude-haiku-4-5-20251001 for reconcile queries (closes #234)#244DaveHudson wants to merge 2 commits intomainfrom
DaveHudson wants to merge 2 commits intomainfrom
Conversation
…#234) Reconcile:query was sharing currentModel (claude-sonnet-4-6) with the chat session. Haiku is sufficient for structured JSON extraction and significantly faster. Extracted buildReconcileSystemPrompt, buildReconcileUserTurn, and extractOpsArray into reconcile-query.ts with RECONCILE_MODEL = haiku constant. Files changed: - apps/desktop/src/main/ipc/reconcile-query.ts (new — pure helpers + model constant) - apps/desktop/src/main/ipc/claude.ts (import from reconcile-query, use RECONCILE_MODEL) - apps/desktop/tests/main/reconcile-query.test.ts (new — covers all pure helpers)
…uto-grow - extractOpsArray: scan all `[` positions instead of using the first — prose containing square brackets before the actual JSON array would cause indexOf to pick the wrong start, failing a valid response; added a test covering that case - ChatPanel scroll effect: restore the messageCount guard pattern (`if (messageCount === 0) return`) so messageCount is referenced in the effect body and no biome-ignore is required - ChatPanel textarea: revert JS auto-grow effect (empty deps, only ran on mount so the textarea never resized while typing) back to the original CSS field-sizing-content approach; restore the deleted test that verified the CSS contract
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #234