@exreve/exk 1.0.69 → 1.0.70
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/cli/agentSession.js +1 -1
- package/dist/cli/index.js +3 -1
- package/dist/ttc-cli.tar.gz +0 -0
- package/package.json +1 -1
package/dist/cli/agentSession.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -60,7 +60,9 @@ async function fetchAiConfig(authToken) {
|
|
|
60
60
|
console.log('[fetchAiConfig] No AI config available for this user');
|
|
61
61
|
return false;
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
// Save aiConfig + models together so agentSession can build provider registry dynamically
|
|
64
|
+
const configPayload = { ...data.aiConfig, models: data.models || [] };
|
|
65
|
+
await fs.writeFile(AI_CONFIG_FILE, JSON.stringify(configPayload, null, 2));
|
|
64
66
|
console.log('[fetchAiConfig] AI config saved successfully');
|
|
65
67
|
return true;
|
|
66
68
|
}
|
package/dist/ttc-cli.tar.gz
CHANGED
|
Binary file
|