Commit c1ccf78
fix: Add useMemo for Cat instance and implement screenshot demo behavior
- Fix Cat instance recreation issue by adding useMemo in App component
- Add responseCount tracking for screenshot demo functionality
- 1st response: Always trigger file editing (100% chance)
- 2nd response: Always return "ニャー\!?" (0% file editing)
- 3rd+ responses: Normal behavior with 0% file editing
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 0259403 commit c1ccf78
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments