@anvia/core 1.0.9 → 1.1.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Indra Zulfi
3
+ Copyright (c) 2026 Anvia
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -2,7 +2,7 @@ import {
2
2
  Agent,
3
3
  createVectorContext,
4
4
  isVectorContext
5
- } from "../chunk-GAOZ263Y.js";
5
+ } from "../chunk-XU54PLSD.js";
6
6
  import "../chunk-OJBFDBLG.js";
7
7
  import "../chunk-J6LVLV6P.js";
8
8
  import "../chunk-JLJMVRRE.js";
@@ -2167,7 +2167,7 @@ var AgentRun = class _AgentRun {
2167
2167
  throw error;
2168
2168
  }
2169
2169
  }
2170
- while (currentTurns <= this.maxTurnCount + 1) {
2170
+ while (currentTurns <= this.maxTurnCount) {
2171
2171
  const prompt = newMessages.at(-1);
2172
2172
  if (prompt === void 0) {
2173
2173
  throw new Error("AgentRun requires at least one message");
@@ -2470,7 +2470,7 @@ var AgentRun = class _AgentRun {
2470
2470
  throw error;
2471
2471
  }
2472
2472
  }
2473
- while (currentTurns <= this.maxTurnCount + 1) {
2473
+ while (currentTurns <= this.maxTurnCount) {
2474
2474
  const prompt = newMessages.at(-1);
2475
2475
  if (prompt === void 0) {
2476
2476
  throw new Error("AgentRun requires at least one message");
@@ -4783,4 +4783,4 @@ export {
4783
4783
  markResolvedAgentOptions,
4784
4784
  Agent
4785
4785
  };
4786
- //# sourceMappingURL=chunk-GAOZ263Y.js.map
4786
+ //# sourceMappingURL=chunk-XU54PLSD.js.map