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
+9
View File
@@ -127,6 +127,14 @@ function ArticlesPage() {
{ label: '标签', value: detail?.tags?.join('、') },
{ label: 'SEO 关键词', value: detail?.seo_keywords?.join('、') },
{ label: 'CTA', value: detail?.cta },
{
label: '起草模型',
value: detail?.drafting_model
? [detail.drafting_model.provider, detail.drafting_model.model]
.filter(Boolean)
.join(' / ') || '—'
: '—',
},
{ label: '封面提示词', value: detail?.cover_image_prompt },
{
label: 'Dimzou 文档',
@@ -140,6 +148,7 @@ function ArticlesPage() {
jsonBlocks={[
{ label: '要点 key_takeaways', value: detail?.key_takeaways },
{ label: '大纲 outline', value: detail?.outline },
{ label: '起草模型 drafting_model', value: detail?.drafting_model },
{ label: '计划 plan', value: detail?.plan },
{ label: '发布排期', value: detail?.publish_schedule },
]}