This commit is contained in:
Liujian
2025-03-13 14:47:36 +08:00
parent 9d270b7b0e
commit 1cdaa29764
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -220,7 +220,8 @@ func (i *imlBalanceModule) Delete(ctx context.Context, id string) error {
return i.syncGateway(ctx, cluster.DefaultClusterID, []*gateway.DynamicRelease{
{
BasicItem: &gateway.BasicItem{
ID: id,
ID: id,
Resource: "ai-provider",
},
},
}, false)
+1
View File
@@ -76,6 +76,7 @@ func FromEntity(e *api.AiAPIInfo) *API {
Updater: e.Updater,
Disable: e.Disable,
UseToken: e.UseToken,
Provider: e.Provider,
Type: e.Type,
AdditionalConfig: cfg,
}