@jojonax/codex-copilot 1.5.0 → 1.5.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/package.json +1 -1
- package/src/commands/run.js +2 -1
package/package.json
CHANGED
package/src/commands/run.js
CHANGED
|
@@ -14,6 +14,8 @@ import { closePrompt } from '../utils/prompt.js';
|
|
|
14
14
|
import { createCheckpoint } from '../utils/checkpoint.js';
|
|
15
15
|
import { provider } from '../utils/provider.js';
|
|
16
16
|
|
|
17
|
+
const maxRateLimitRetries = 3;
|
|
18
|
+
|
|
17
19
|
function readJSON(path) {
|
|
18
20
|
return JSON.parse(readFileSync(path, 'utf-8'));
|
|
19
21
|
}
|
|
@@ -55,7 +57,6 @@ export async function run(projectDir) {
|
|
|
55
57
|
const waitTimeout = config.review_wait_timeout || 600;
|
|
56
58
|
const isPrivate = github.isPrivateRepo(projectDir); // Cache once
|
|
57
59
|
const weeklyQuotaThreshold = config.weekly_quota_threshold || 97;
|
|
58
|
-
const maxRateLimitRetries = 3;
|
|
59
60
|
|
|
60
61
|
const providerInfo = provider.getProvider(providerId);
|
|
61
62
|
log.info(`AI Provider: ${providerInfo ? providerInfo.name : providerId}`);
|