fix: resolve TypeScript iterator error in OutfitRecommendationTool

- Fixed type error where response.recommendations could be undefined
- Added null coalescing operator to ensure safe array spreading
- Updated OutfitRecommendationCard and capabilities configuration
This commit is contained in:
imeepos
2025-07-28 11:56:11 +08:00
parent 2f845db6ac
commit 5c019b48df
3 changed files with 2 additions and 9 deletions

View File

@@ -9,6 +9,7 @@
"core:window:allow-center",
"core:window:allow-set-position",
"core:window:allow-set-resizable",
"core:window:allow-set-min-size",
"opener:default",
"opener:allow-open-path",
"opener:allow-reveal-item-in-dir",