@lasso-ai/cli 2.1.20 → 2.1.21

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.
@@ -389,7 +389,7 @@ async function resolveWorkspaceConfig(fileEnv) {
389
389
  */
390
390
  async function fetchModels(fileEnv) {
391
391
  const serverUrl = (0, auth_1.serverUrlFrom)(fileEnv).replace(/\/$/, "");
392
- const apiUrl = `${serverUrl}/api/v1`;
392
+ const apiUrl = `${(0, auth_1.agentRuntimeUrlFrom)(fileEnv).replace(/\/$/, "")}/api/v1`;
393
393
  // Pass the user's own provider keys (BYOK) so the server can list live
394
394
  // models per provider instead of falling back to empty/static lists.
395
395
  const envKey = (...names) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lasso-ai/cli",
3
- "version": "2.1.20",
3
+ "version": "2.1.21",
4
4
  "description": "Select any part of your running app, describe a change, and let AI edit the real source code.",
5
5
  "type": "commonjs",
6
6
  "main": "dist/cli/index.js",