aex-code 1.0.2 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aex-code",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Next-Gen OpenRouter Coding Agent CLI - Powered by AI Extension",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -80,8 +80,11 @@ export async function chatCommand() {
80
80
  spinner.stop();
81
81
  console.log(chalk.bgRed.white.bold(' ■ ERROR '));
82
82
  if (e.status === 429) {
83
- console.log(chalk.red(`\nRate Limit or Provider Error (429): The active model (${getDefaultModel()}) is currently overloaded.`));
84
- console.log(chalk.yellow(`Tip: Try swapping your model using:\naex-code config --set-model "google/gemini-2.0-flash-lite-preview-02-05:free"\n`));
83
+ console.log(chalk.red(`\nModel Overloaded or Unavailable (429 Error)`));
84
+ console.log(chalk.white(`This is not an issue with AEX Code. The specific model you are using right now (${getDefaultModel()}) is currently experiencing too much global traffic on OpenRouter's free tier and is temporarily rejecting requests.`));
85
+ console.log(chalk.yellow(`\nHow to fix this instantly:`));
86
+ console.log(chalk.yellow(`1. Go to https://openrouter.ai/models and find another free or paid model based on your subscription that is currently active.`));
87
+ console.log(chalk.yellow(`2. Set it using the config command, for example:\n aex-code config --set-model "YOUR_PREFERRED_MODEL_NAME"\n`));
85
88
  } else if (e.status === 401) {
86
89
  console.log(chalk.red(`\nUnauthorized (401): Your API key is invalid or not recognized by OpenRouter.`));
87
90
  } else {