@oooooooooo/ch0de 1.9.65 → 1.9.66
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/chode.js +0 -1
- package/package.json +1 -1
package/chode.js
CHANGED
|
@@ -4173,7 +4173,6 @@ async function callWithBestProvider(prompt, sessionId, forceProvider, opts) {
|
|
|
4173
4173
|
viable.sort(function(a, b){
|
|
4174
4174
|
var aAuth = isAuthFailed(a) ? 1 : 0, bAuth = isAuthFailed(b) ? 1 : 0;
|
|
4175
4175
|
if (aAuth !== bAuth) return aAuth - bAuth;
|
|
4176
|
-
if (!opts.freeOnly) return 0; // Provider ranking disabled outside free mode — keep registry order
|
|
4177
4176
|
var ra = (rankPos[a] !== undefined) ? rankPos[a] : 1e9;
|
|
4178
4177
|
var rb = (rankPos[b] !== undefined) ? rankPos[b] : 1e9;
|
|
4179
4178
|
if (ra !== rb) return ra - rb;
|
package/package.json
CHANGED