@tuned-tensor/cli 0.15.0 → 0.15.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/dist/index.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  runReportSchema,
29
29
  warningsFromSnapshot,
30
30
  withFoundationPythonEnvironment
31
- } from "./chunk-YGN26POJ.js";
31
+ } from "./chunk-VVKC563R.js";
32
32
 
33
33
  // src/cli.ts
34
34
  import { spawn as spawn4 } from "child_process";
@@ -3164,7 +3164,11 @@ async function loginAgentProvider(runtime, provider, apiKey, options = {}) {
3164
3164
  throw new Error("API key cannot be empty.");
3165
3165
  }
3166
3166
  if (choice.id === MANAGED_AGENT_PROVIDER) {
3167
- updateConfig({ api_key: validateAccessToken(key), base_url: getBaseUrl(options) });
3167
+ updateConfig({
3168
+ api_key: validateAccessToken(key),
3169
+ base_url: getBaseUrl(options),
3170
+ agent: { ...MANAGED_AGENT_SELECTION }
3171
+ });
3168
3172
  } else {
3169
3173
  persistProviderApiKey(choice.id, key);
3170
3174
  }
@@ -3877,7 +3881,7 @@ var TunedTensorShellSession = class _TunedTensorShellSession {
3877
3881
  });
3878
3882
  await this.refreshContext();
3879
3883
  this.io.write(
3880
- result2.provider === MANAGED_AGENT_PROVIDER ? `${successMark()} TT access token saved for managed inference and cloud operations.
3884
+ result2.provider === MANAGED_AGENT_PROVIDER ? `${successMark()} TT access token saved for managed inference and cloud operations. Agent model saved: tunedtensor/managed.
3881
3885
  ` : `${successMark()} Saved ${result2.provider} credentials. Chat and /model can use this provider now.
3882
3886
  `
3883
3887
  );
@@ -10825,7 +10829,7 @@ async function runCli(version, runtime = {}) {
10825
10829
  }
10826
10830
 
10827
10831
  // src/index.ts
10828
- runCli("0.15.0").catch((err) => {
10832
+ runCli("0.15.1").catch((err) => {
10829
10833
  reportError(err);
10830
10834
  process.exit(1);
10831
10835
  });