Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lib/observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { type Companion, type StatName, STAT_NAMES, getPeakStat, getDumpStat } from './types.js';
import { claimSnippet } from './reasoning/index.js';
import type { Finding } from './reasoning/index.js';
import { phraseFinding } from './reasoning/phrasings.js';
import { phraseFindingForCompanion } from './reasoning/phrasings.js';
import { scrubReactionText } from './reasoning/scrub.js';

// --- Reaction States ---
Expand Down Expand Up @@ -174,10 +174,10 @@ What happened: ${summary}`;
// second line of defense beyond the phrasings-tone review-time test.
let templateFallback = templateReaction(companion, mode, summary, reaction.state);
if (guardInjection?.finding) {
const findingPhrase = phraseFinding(
const findingPhrase = phraseFindingForCompanion(
guardInjection.finding.type,
reaction.state,
guardInjection.finding.claim_text,
companion,
summary.length,
);
templateFallback = `${templateFallback} ${findingPhrase}`;
Expand Down