- 批量查询和插入,减少数据库操作 - 统一错误处理 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When a channel is created or updated, automatically sync its models to the models table if they don't exist. Models created this way are marked with SyncOfficial=0 to prevent official sync from overwriting them.