@chrryai/chrry 1.4.84 → 1.4.85

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.
package/dist/index.js CHANGED
@@ -1901,7 +1901,7 @@ var init_utils = __esm({
1901
1901
  };
1902
1902
  isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
1903
1903
  config = getSiteConfig(getClientHostname());
1904
- VERSION = config.version || "1.4.84";
1904
+ VERSION = config.version || "1.4.85";
1905
1905
  getSlugFromPathname = (path) => {
1906
1906
  return getAppAndStoreSlugs(path, {
1907
1907
  defaultAppSlug: config.slug,
@@ -24067,7 +24067,7 @@ function DataProvider({ children, ...rest }) {
24067
24067
  const [instructions, setInstructions] = (0, import_react21.useState)([]);
24068
24068
  const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
24069
24069
  const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
24070
- const VERSION4 = "1.4.84";
24070
+ const VERSION4 = "1.4.85";
24071
24071
  const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
24072
24072
  const {
24073
24073
  API_URL: API_URL2,
@@ -37057,7 +37057,7 @@ function Chat({
37057
37057
  setFilesInternal(f);
37058
37058
  return;
37059
37059
  }
37060
- const agentLimits = MAX_FILE_SIZES[selectedAgent.name] || MAX_FILE_SIZES.deepSeek;
37060
+ const agentLimits = MAX_FILE_SIZES[selectedAgent.name] || MAX_FILE_SIZES.sushi;
37061
37061
  const MAX_TOTAL_FILE_SIZE = Math.max(
37062
37062
  agentLimits.pdf,
37063
37063
  agentLimits.image,
@@ -37402,7 +37402,7 @@ Return ONLY ONE WORD: ${apps.map((a) => a.name).join(", ")}, or "none"`;
37402
37402
  validFiles.push(file);
37403
37403
  }
37404
37404
  }
37405
- setFiles((prev2) => [...prev2, ...validFiles].slice(0, 3));
37405
+ setFiles((prev2) => [...prev2, ...validFiles].slice(0, MAX_FILES));
37406
37406
  if (validFiles.length > 0) {
37407
37407
  import_react_hot_toast9.default.success(`${validFiles.length} file(s) selected`);
37408
37408
  setIsAttaching(false);