Enhances error handling and performance tracking

Adds more granular error types and handling for API interactions
Improves token estimation with safety margin
Introduces duration tracking for cleanup operations

Provides clearer user feedback for various error scenarios including authentication, rate limiting, and network issues
This commit is contained in:
AlexKucera committed 2025-10-24 16:27:37 +02:00
1 parent 306e6819a3
commit bb6cc929f5
3 files changed
+30 -8

No files matched your search

+2
View File
@@ -128,6 +128,8 @@ export interface CleanupResult {
/** Output tokens */
output: number;
};
/** Duration of the cleanup operation in milliseconds */
duration: number;
}
/**