feat(ai-export): annotate uploads with the expected shot count

This commit is contained in:
qlionbleusam
2026-08-29 10:19:01 +02:00
parent 3f79252bb5
commit 3d9e574309
4 changed files with 15 additions and 1 deletions
@@ -248,6 +248,7 @@ class AnalysisProvider extends ChangeNotifier {
String? sessionId,
int? distance,
String? caliber,
int? expectedShots,
}) async {
if (_imagePath == null || _targetType == null) {
_errorMessage = "Impossible d'exporter : image ou type de cible manquant.";
@@ -273,6 +274,7 @@ class AnalysisProvider extends ChangeNotifier {
shots: _shots,
distanceMeters: distance ?? 25,
caliber: caliber ?? 'unknown',
expectedShots: expectedShots,
);
_state = AnalysisState.success;