@prestyj/core 5.3.0 → 5.3.1

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getAppPaths
3
- } from "./chunk-WQFTKHPJ.js";
3
+ } from "./chunk-C7XNJDPH.js";
4
4
 
5
5
  // src/auth-storage.ts
6
6
  import fs4 from "fs/promises";
@@ -1762,6 +1762,10 @@ function getSummaryModel(provider, currentModelId) {
1762
1762
  }
1763
1763
  return getModel(currentModelId) ?? getDefaultModel(provider);
1764
1764
  }
1765
+ function getFastModel(provider, currentModelId) {
1766
+ const low = getModelsForProvider(provider).find((m) => m.costTier === "low");
1767
+ return low ?? getModel(currentModelId) ?? getDefaultModel(provider);
1768
+ }
1765
1769
 
1766
1770
  export {
1767
1771
  generatePKCE,
@@ -1800,6 +1804,7 @@ export {
1800
1804
  usesOpenAICodexTransport,
1801
1805
  getContextWindow,
1802
1806
  getMaxThinkingLevel,
1803
- getSummaryModel
1807
+ getSummaryModel,
1808
+ getFastModel
1804
1809
  };
1805
- //# sourceMappingURL=chunk-5GGCATYH.js.map
1810
+ //# sourceMappingURL=chunk-BUPKYUUH.js.map