@lobehub/chat 1.114.4 → 1.114.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,6 +44,14 @@ export function useGenerationConfigParam<
44
44
  paramConfig && typeof paramConfig === 'object' && 'enum' in paramConfig
45
45
  ? paramConfig.enum
46
46
  : undefined;
47
+ const maxFileSize =
48
+ paramConfig && typeof paramConfig === 'object' && 'maxFileSize' in paramConfig
49
+ ? paramConfig.maxFileSize
50
+ : undefined;
51
+ const maxCount =
52
+ paramConfig && typeof paramConfig === 'object' && 'maxCount' in paramConfig
53
+ ? paramConfig.maxCount
54
+ : undefined;
47
55
 
48
56
  return {
49
57
  description,
@@ -51,6 +59,8 @@ export function useGenerationConfigParam<
51
59
  min,
52
60
  step,
53
61
  enumValues,
62
+ maxFileSize,
63
+ maxCount,
54
64
  };
55
65
  }, [paramConfig]);
56
66