agen-vektor 0.3.22 → 0.3.23
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/config/free-tier.js +17 -14
- package/package.json +1 -1
package/dist/config/free-tier.js
CHANGED
|
@@ -59,16 +59,16 @@ function freeTierEnabled() {
|
|
|
59
59
|
/** Provider id used in config.provider / providers map. */
|
|
60
60
|
exports.FREE_PROVIDER_ID = 'vectorhead-free';
|
|
61
61
|
/**
|
|
62
|
-
* Default free model (cheap, gateway allowlist-friendly). 2026-09-
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
62
|
+
* Default free model (cheap, gateway allowlist-friendly). 2026-09-13:
|
|
63
|
+
* `kilo-auto/free` — gateway di-cutover ke Kilo Code (sesi "pindahkan
|
|
64
|
+
* provider di dashboard admin pilih kilo code"); id lama `glm-5.3-flash`
|
|
65
|
+
* TIDAK ada di katalog Kilo → onboarding user baru 404 "model not found"
|
|
66
|
+
* (ketemu via smoke test 0.3.22). Router Kilo terverifikasi live end-to-end
|
|
67
|
+
* (chat 200, dijawab dots-3-note-preview:free). Riwayat trap yang sama:
|
|
68
|
+
* `deepseek-ai/DeepSeek-V4-Flash` → `claude-sonnet-4-6` → `glm-5.3-flash`
|
|
69
|
+
* (dua flip 2026-09-06/07) → sekarang kilo-auto/free.
|
|
70
70
|
*/
|
|
71
|
-
exports.FREE_DEFAULT_MODEL = '
|
|
71
|
+
exports.FREE_DEFAULT_MODEL = 'kilo-auto/free';
|
|
72
72
|
/** The providers-map entry for the free tier (idempotent — same shape always). */
|
|
73
73
|
function freeProviderDef() {
|
|
74
74
|
// When a catalog has been fetched in this process, the gateway URL and
|
|
@@ -94,18 +94,21 @@ function freeProviderDef() {
|
|
|
94
94
|
},
|
|
95
95
|
model: exports.FREE_DEFAULT_MODEL,
|
|
96
96
|
models: Object.keys(models).length > 0 ? models : {
|
|
97
|
-
[exports.FREE_DEFAULT_MODEL]: { name: '
|
|
97
|
+
[exports.FREE_DEFAULT_MODEL]: { name: 'Kilo Auto (free)' },
|
|
98
98
|
},
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
102
|
* Stale first-run defaults — migrated to FREE_DEFAULT_MODEL once on
|
|
103
103
|
* ensureFreeProvider (only while the free provider is active). glm-5.3-flash
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* plus that window's claude default (no longer in the gateway allowlist).
|
|
104
|
+
* jadi legacy 2026-09-13 (cutover Kilo — id tidak ada di katalog Kilo);
|
|
105
|
+
* deepseek default pertama; claude-sonnet-4-6 window 2026-09-06.
|
|
107
106
|
*/
|
|
108
|
-
exports.FREE_LEGACY_MODELS = [
|
|
107
|
+
exports.FREE_LEGACY_MODELS = [
|
|
108
|
+
'deepseek-ai/DeepSeek-V4-Flash',
|
|
109
|
+
'claude-sonnet-4-6',
|
|
110
|
+
'glm-5.3-flash',
|
|
111
|
+
];
|
|
109
112
|
/**
|
|
110
113
|
* Ensure the free provider entry exists in the config's providers map
|
|
111
114
|
* (create or repair — never touches unrelated providers). Also migrates an
|
package/package.json
CHANGED