feat(studio/articles): show drafting_model (LLM used for draft)

Adds drafting_model to the article type and surfaces it in the detail sheet
(provider / model line + raw JSON block). Regenerates admin API types.
This commit is contained in:
2026-07-08 22:33:22 +08:00
parent 3f3a8347eb
commit 9c308c28da
3 changed files with 84 additions and 14 deletions
+2
View File
@@ -132,6 +132,8 @@ export interface StudioArticle {
inline_images: Array<{ url: string; alt?: string | null }> | null
inline_image_prompts: unknown[] | null
status: ArticleStatus
/** LLM used to draft the body, e.g. { provider, model, params }. */
drafting_model: { provider?: string; model?: string; [k: string]: unknown } | null
publish_schedule: Record<string, unknown> | null
dimzou_document_id: number | null
dimzou_publication_id: number | null