fix(review): Create title no silent fail; gate enables content LLM
Create title used to look enabled while review echoed a pre-typed title when species/primary were missing from taxonomy (no error). Persist wood cats before the deterministic build, return title_built / title_build_missing from review, and surface a Create-title nudge like Create desc. WooSetupGate now turns on content_llm_enabled when inference URL+key are set (Call 2 / Create desc). Call 1 stays out. Create-desc gate also requires inference URL+key so empty Settings show a clear missing list.
This commit is contained in:
@@ -306,6 +306,9 @@ export interface ReviewResult {
|
||||
price: number | null;
|
||||
price_suggestion: number | null;
|
||||
primary_wood_category_id: number | null;
|
||||
/** True when deterministic title/short_desc were built from taxonomy. */
|
||||
title_built?: boolean;
|
||||
title_build_missing?: string[];
|
||||
}
|
||||
|
||||
export interface ReviewInput {
|
||||
|
||||
Reference in New Issue
Block a user