mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-16 04:33:48 +00:00
changed DateTime to DateTimeOffset
This commit is contained in:
1 parent
9ab196c13c
commit
6985678d2f
8 files changed
+70
-71
No files matched your search
+3
-3
@@ -139,7 +139,7 @@ public sealed class SqliteEmbeddingStateClientImplementation(
|
||||
return;
|
||||
|
||||
dataSource.VectorSize = vectorSize;
|
||||
dataSource.UpdatedAtUtc = DateTime.UtcNow;
|
||||
dataSource.UpdatedAtUtc = DateTimeOffset.UtcNow;
|
||||
await context.SaveChangesAsync(token);
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@ public sealed class SqliteEmbeddingStateClientImplementation(
|
||||
return;
|
||||
|
||||
dataSource.SourceHash = sourceHash;
|
||||
dataSource.UpdatedAtUtc = DateTime.UtcNow;
|
||||
dataSource.UpdatedAtUtc = DateTimeOffset.UtcNow;
|
||||
await context.SaveChangesAsync(token);
|
||||
}
|
||||
|
||||
@@ -343,7 +343,7 @@ public sealed class SqliteEmbeddingStateClientImplementation(
|
||||
dataSource.EmbeddingSignature = embeddingSignature;
|
||||
dataSource.SourceHash = sourceHash;
|
||||
dataSource.VectorSize = vectorSize;
|
||||
dataSource.UpdatedAtUtc = DateTime.UtcNow;
|
||||
dataSource.UpdatedAtUtc = DateTimeOffset.UtcNow;
|
||||
}
|
||||
|
||||
private static void ApplyFile(EmbeddingStateFileEntity fileEntity, string dataSourceId, EmbeddingStateFile file)
|
||||
|
||||
Reference in new issue
Block a user