增加2.5模型调用

This commit is contained in:
andy committed 2026-09-23 15:10:13 +08:00
1 parent 3f29ba716a
commit be655b6569
32 files changed
+1075 -56

No files matched your search

@@ -136,6 +136,15 @@ func (c *CreationCoordinator) RetryPlatform(ctx context.Context, session identit
if engine := retryEngine(original.Provider, original.Capability); engine != "" {
body["engine"] = engine
}
if original.Provider == "evolink" && original.Capability == "image.generate" {
model := strings.TrimSpace(original.ReqKey)
if model == "" {
model = strings.TrimSpace(request.Model)
}
if model != "" {
body["model"] = model
}
}
created, _, err := c.CreatePlatform(ctx, session, CreationInput{Capability: original.Capability, Body: body, RetryOf: original.ID})
if err != nil {
return jobs.Job{}, err