feat(*): 云端 Agent - 增强画布上下文读取并接入 Gemini 缓存
This commit is contained in:
1 parent
84e5be0bdb
commit
21b311b90b
35 files changed
+1927
-266
No files matched your search
@@ -78,6 +78,9 @@ func TestMigrateSchemaRecordsAndValidatesVersion(t *testing.T) {
|
||||
!db.Migrator().HasColumn(&model.EmailVerificationCode{}, "attempts") {
|
||||
t.Fatal("schema migration v35 did not add authentication verification fields")
|
||||
}
|
||||
if !db.Migrator().HasTable(&model.CloudAgentGeminiCache{}) {
|
||||
t.Fatal("schema migration v36 did not create Gemini cache table")
|
||||
}
|
||||
if err := MigrateSchema(db); err != nil {
|
||||
t.Fatalf("migration should be idempotent: %v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user