@ikyyofc/gemini-cli 2.0.0 → 2.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/package.json +1 -1
  2. package/src/agent.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikyyofc/gemini-cli",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "AI CLI Agent powered by Gemini — your own terminal assistant",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/src/agent.js CHANGED
@@ -18,7 +18,7 @@ import { printAssistant, printError, printWarning, printToolCall, printToolResul
18
18
  export async function runAgentLoop(userMessage, history, {
19
19
  systemInstruction = null,
20
20
  autoApprove = false,
21
- maxIterations = 40,
21
+ maxIterations = 5000,
22
22
  } = {}) {
23
23
 
24
24
  // Build initial message list
@@ -50,7 +50,7 @@ export async function runAgentLoop(userMessage, history, {
50
50
  } catch (err) {
51
51
  spinner.fail(chalk.hex("#F44747")("API error"));
52
52
  printError(err.message);
53
- printError(err.response.data);
53
+ printError(JSON.stringify(err.response.data, null, 2));
54
54
  return null;
55
55
  }
56
56