@copilotkitnext/core 1.54.1-next.2 → 1.54.1-next.4
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1467,7 +1467,7 @@ var RunHandler = class {
|
|
|
1467
1467
|
async runAgent({ agent, forwardedProps }) {
|
|
1468
1468
|
if (agent.agentId) this._internal.suggestionEngine.clearSuggestions(agent.agentId);
|
|
1469
1469
|
if (agent instanceof _ag_ui_client.HttpAgent) agent.headers = { ...this._internal.headers };
|
|
1470
|
-
if (agent.detachActiveRun) agent.detachActiveRun();
|
|
1470
|
+
if (agent.detachActiveRun) await agent.detachActiveRun();
|
|
1471
1471
|
try {
|
|
1472
1472
|
const runAgentResult = await agent.runAgent({
|
|
1473
1473
|
forwardedProps: {
|