Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

address review (claude): record only the forwarded provider/model on the auto-extract marker

[._.]/ Adam Eivydf2637c183e0
diff --git a/server/services/pipeline/textStages.js b/server/services/pipeline/textStages.js
index fa80c3225e..90404c14f4 100644
--- a/server/services/pipeline/textStages.js
+++ b/server/services/pipeline/textStages.js
@@ -327,8 +327,15 @@ export async function generateStage(issueId, stageId, options = {}) {
// a different provider/model. Still non-fatal — a noisy extract shouldn't
// roll back the user's accepted prose draft. The stamp is best-effort: if
// even the stamp write fails we only warn (no throw out of the prose path).
- const provider = options.providerId || series.llm?.provider || '';
- const model = options.model || series.llm?.model || '';
+ //
+ // Record only the override actually forwarded to the extractor (not a
+ // series.llm fallback) — the extract call below passes bare
+ // `options.providerId`/`options.model`, so when those are undefined the
+ // extractor resolves to the global active provider. Claiming
+ // `series.llm.provider` here would make the banner misreport which provider
+ // failed. Empty string = "used the default/active provider".
+ const provider = options.providerId || '';
+ const model = options.model || '';
const marker = await extractCanonFromProse(series.universeId, {
corpus: output,
providerOverride: options.providerId,