refactor(core): 模型路由与画布 - 收敛渠道模型映射并优化交互

This commit is contained in:
ddCat
2026-08-19 20:27:26 +08:00
parent 52424543ea
commit d47975f9bc
34 changed files with 601 additions and 901 deletions

View File

@@ -18,7 +18,7 @@ type Task struct {
LogicalModelID string `json:"logicalModelId,omitempty" gorm:"size:36;index"`
LogicalModelRevisionID string `json:"logicalModelRevisionId,omitempty" gorm:"size:36;index"`
RouteID string `json:"routeId,omitempty" gorm:"size:36;index"`
PhysicalVariantID string `json:"physicalVariantId,omitempty" gorm:"size:36;index"`
ChannelModelID string `json:"channelModelId,omitempty" gorm:"size:36;index"`
// RouteRun 只在用户主动重试时递增;worker 租约恢复不应创建新的路由选择世代。
RouteRun int `json:"-" gorm:"index"`
BillingOrderID string `json:"billingOrderId,omitempty" gorm:"index;size:36"`