This commit is contained in:
Bryce Lampe
2025-04-28 14:48:47 -07:00
parent f58b786284
commit b70b1b107b

View File

@@ -137,6 +137,7 @@ func (i *Index) Create(
ctx, ctx,
infer.UpdateRequest[IndexArgs, IndexState]{ infer.UpdateRequest[IndexArgs, IndexState]{
ID: req.Name, ID: req.Name,
Olds: IndexState{},
News: req.Inputs, News: req.Inputs,
Preview: req.Preview, Preview: req.Preview,
}, },
@@ -173,8 +174,7 @@ func (i *Index) Update(
} }
// Read remote manifest information, if it exists. // Read remote manifest information, if it exists.
_, err = i.Read( _, err = i.Read(ctx,
ctx,
infer.ReadRequest[IndexArgs, IndexState]{ID: req.ID, Inputs: input, State: state}, infer.ReadRequest[IndexArgs, IndexState]{ID: req.ID, Inputs: input, State: state},
) )
if err != nil { if err != nil {