fix: VLM识别修复 - 去System Message + 低温 + 精简提示词
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user