feat(cloud-agent): 云端 Agent - 完善运行时与资源持久化
This commit is contained in:
1 parent
4613cca38c
commit
f4480b129b
40 files changed
+1739
-440
No files matched your search
@@ -331,7 +331,7 @@ func cloudAgentApprovalCallHash(call cloudAgentCall) string {
|
||||
// server revalidates the prepared dependency hash below, which deliberately
|
||||
// ignores layout-only edits such as moving a node.
|
||||
arguments := call.Function.Arguments
|
||||
if call.Function.Name == "generate_media" {
|
||||
if call.Function.Name == "generate_media" || call.Function.Name == "image_layer_split" {
|
||||
var object map[string]any
|
||||
if err := json.Unmarshal([]byte(arguments), &object); err == nil {
|
||||
delete(object, "snapshotHash")
|
||||
|
||||
Reference in new issue
Block a user