navada-edge-cli 3.0.0 → 3.0.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.
Files changed (2) hide show
  1. package/lib/agent.js +2 -2
  2. package/package.json +1 -1
package/lib/agent.js CHANGED
@@ -718,7 +718,7 @@ async function chat(userMessage, conversationHistory = []) {
718
718
  // Stream the response — fall back to Grok if Anthropic fails (billing, rate limit, etc.)
719
719
  let response;
720
720
  try {
721
- response = await streamAnthropic(effectiveKey, messages, tools);
721
+ response = await streamAnthropic(effectiveAnthropicKey, messages, tools);
722
722
  } catch (e) {
723
723
  const errMsg = e.message || '';
724
724
  // If billing/rate limit/auth error, fall back to free tier
@@ -744,7 +744,7 @@ async function chat(userMessage, conversationHistory = []) {
744
744
 
745
745
  messages.push({ role: 'assistant', content: response.content });
746
746
  messages.push({ role: 'user', content: results });
747
- response = await streamAnthropic(effectiveKey, messages, tools);
747
+ response = await streamAnthropic(effectiveAnthropicKey, messages, tools);
748
748
  }
749
749
 
750
750
  // Extract final text (already streamed to stdout)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "navada-edge-cli",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Interactive CLI for the NAVADA Edge Network — explore nodes, agents, Cloudflare, AI, Docker, and MCP from your terminal",
5
5
  "main": "lib/cli.js",
6
6
  "bin": {