feature: Optional OCR-Assisted Draft Pre-Fill

This commit is contained in:
voltsrage
2026-06-28 01:28:54 +08:00
parent 5039dbb979
commit c160c5f912
42 changed files with 3592 additions and 33 deletions
@@ -22,7 +22,7 @@ public class IdempotencyService : IIdempotencyService
return record;
}
public async Task SaveAsync(string idempotencyKey, string operationName, Guid resourceId,
public Task SaveAsync(string idempotencyKey, string operationName, Guid resourceId,
int httpStatusCode, object responseBody, TimeSpan? ttl = null)
{
var effectiveTtl = ttl ?? DefaultTtl;
@@ -46,5 +46,6 @@ public class IdempotencyService : IIdempotencyService
_db.IdempotencyRecords.Add(record);
// SaveChanges is called by the caller (within the same transaction)
return Task.CompletedTask;
}
}