区分请求资源 base64 格式并按平台恢复

This commit is contained in:
2026-06-05 23:07:25 +08:00
parent d41d9482c7
commit 78ab867a9f
3 changed files with 277 additions and 18 deletions
+1 -1
View File
@@ -564,7 +564,7 @@ func (s *Service) runCandidate(ctx context.Context, task store.GatewayTask, user
return clients.Response{}, fmt.Errorf("prepare http client: %w", err)
}
client := s.clientFor(candidate, simulated)
providerBody, err := s.hydrateProviderRequestAssets(ctx, body)
providerBody, err := s.hydrateProviderRequestAssets(ctx, body, candidate)
if err != nil {
_ = s.store.FinishTaskAttempt(ctx, store.FinishTaskAttemptInput{
AttemptID: attemptID,