@kenkaiiii/gg-core 5.8.3 → 5.8.4
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/{chunk-4IAHX2DY.js → chunk-NFD23TE6.js} +7 -2
- package/dist/{chunk-4IAHX2DY.js.map → chunk-NFD23TE6.js.map} +1 -1
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +6 -0
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.d.cts +13 -1
- package/dist/model-registry.d.ts +13 -1
- package/dist/model-registry.js +3 -1
- package/package.json +2 -2
|
@@ -1751,6 +1751,10 @@ function getSummaryModel(provider, currentModelId) {
|
|
|
1751
1751
|
}
|
|
1752
1752
|
return getModel(currentModelId) ?? getDefaultModel(provider);
|
|
1753
1753
|
}
|
|
1754
|
+
function getFastModel(provider, currentModelId) {
|
|
1755
|
+
const low = getModelsForProvider(provider).find((m) => m.costTier === "low");
|
|
1756
|
+
return low ?? getModel(currentModelId) ?? getDefaultModel(provider);
|
|
1757
|
+
}
|
|
1754
1758
|
|
|
1755
1759
|
export {
|
|
1756
1760
|
generatePKCE,
|
|
@@ -1789,6 +1793,7 @@ export {
|
|
|
1789
1793
|
usesOpenAICodexTransport,
|
|
1790
1794
|
getContextWindow,
|
|
1791
1795
|
getMaxThinkingLevel,
|
|
1792
|
-
getSummaryModel
|
|
1796
|
+
getSummaryModel,
|
|
1797
|
+
getFastModel
|
|
1793
1798
|
};
|
|
1794
|
-
//# sourceMappingURL=chunk-
|
|
1799
|
+
//# sourceMappingURL=chunk-NFD23TE6.js.map
|