fix: VLM识别修复 - 去System Message + 低温 + 精简提示词

This commit is contained in:
MingNian
2026-06-04 15:02:12 +08:00
parent 0e0e8ce72b
commit c44917b8e9
4 changed files with 18 additions and 17 deletions

View File

@@ -73,7 +73,9 @@ class DietNotifier extends Notifier<DietState> {
state = state.copyWith(isAnalyzing: true, errorMessage: null);
try {
final api = ref.read(apiClientProvider);
final imageFile = File(state.imagePath!);
final path = state.imagePath!;
debugPrint('[DietDebug] analyzeImage using: $path');
final imageFile = File(path);
final formData = FormData.fromMap({
'images': await MultipartFile.fromFile(