@rely-ai/caliber 1.3.0 → 1.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.
- package/dist/bin.js +3 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -6215,10 +6215,12 @@ function writeRefreshDocs(docs) {
|
|
|
6215
6215
|
// src/ai/refresh.ts
|
|
6216
6216
|
async function refreshDocs(diff, existingDocs, projectContext) {
|
|
6217
6217
|
const prompt = buildRefreshPrompt(diff, existingDocs, projectContext);
|
|
6218
|
+
const fastModel = getFastModel();
|
|
6218
6219
|
const raw = await llmCall({
|
|
6219
6220
|
system: REFRESH_SYSTEM_PROMPT,
|
|
6220
6221
|
prompt,
|
|
6221
|
-
maxTokens: 16384
|
|
6222
|
+
maxTokens: 16384,
|
|
6223
|
+
...fastModel ? { model: fastModel } : {}
|
|
6222
6224
|
});
|
|
6223
6225
|
return parseJsonResponse(raw);
|
|
6224
6226
|
}
|
package/package.json
CHANGED