summaryrefslogtreecommitdiff
path: root/packages/cli/src/core/history-updater.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/core/history-updater.ts')
-rw-r--r--packages/cli/src/core/history-updater.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/core/history-updater.ts b/packages/cli/src/core/history-updater.ts
index a97c99a1..465b7d49 100644
--- a/packages/cli/src/core/history-updater.ts
+++ b/packages/cli/src/core/history-updater.ts
@@ -178,7 +178,7 @@ export const handleToolCallChunk = (
* it to the last non-user message or creating a new entry.
*/
export const addErrorMessageToHistory = (
- error: any,
+ error: DOMException | Error,
setHistory: React.Dispatch<React.SetStateAction<HistoryItem[]>>,
getNextMessageId: () => number,
): void => {