Spaces:
Running
Running
use claude for redesign
Browse files
frontend/src/components/LandingPage.tsx
CHANGED
|
@@ -390,7 +390,8 @@ ${isGradio ? '\n\nIMPORTANT: Only output Python (.py) files. Do NOT include requ
|
|
| 390 |
if (onStart) {
|
| 391 |
// Pass duplicated space ID so auto-deploy updates it
|
| 392 |
console.log('[Redesign] Calling onStart with duplicated repo ID:', duplicatedRepoId);
|
| 393 |
-
|
|
|
|
| 394 |
}
|
| 395 |
}, 100);
|
| 396 |
|
|
@@ -434,7 +435,8 @@ Note: After generating the redesign, I will create a Pull Request on the origina
|
|
| 434 |
|
| 435 |
if (onStart) {
|
| 436 |
console.log('[Redesign] Will create PR - not passing repo ID');
|
| 437 |
-
|
|
|
|
| 438 |
}
|
| 439 |
|
| 440 |
console.log('[Redesign] Will create PR after code generation completes');
|
|
|
|
| 390 |
if (onStart) {
|
| 391 |
// Pass duplicated space ID so auto-deploy updates it
|
| 392 |
console.log('[Redesign] Calling onStart with duplicated repo ID:', duplicatedRepoId);
|
| 393 |
+
console.log('[Redesign] Using Claude-Sonnet-4.5 for redesign');
|
| 394 |
+
onStart(redesignPrompt, result.language || 'html', 'claude-sonnet-4.5', duplicatedRepoId);
|
| 395 |
}
|
| 396 |
}, 100);
|
| 397 |
|
|
|
|
| 435 |
|
| 436 |
if (onStart) {
|
| 437 |
console.log('[Redesign] Will create PR - not passing repo ID');
|
| 438 |
+
console.log('[Redesign] Using Claude-Sonnet-4.5 for redesign');
|
| 439 |
+
onStart(redesignPrompt, result.language || 'html', 'claude-sonnet-4.5', undefined);
|
| 440 |
}
|
| 441 |
|
| 442 |
console.log('[Redesign] Will create PR after code generation completes');
|