-
+
-
Long-context understanding and safety.
+
Long-context understanding and safety. (CLI Required)
@@ -1355,6 +1355,31 @@ npm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz &
.replace(/"/g, """)
.replace(/'/g, "'");
}
+
+ function selectAgent(agent) {
+ // Remove active class from all cards
+ document.querySelectorAll('.agent-card').forEach(card => card.classList.remove('active'));
+
+ // Add active class to selected card
+ const selectedCard = document.getElementById('card-' + agent);
+ if (selectedCard) {
+ selectedCard.classList.add('active');
+ }
+
+ // Update prompt text
+ const installCmd = document.getElementById('install-cmd');
+ let promptText = '';
+
+ if (agent === 'jules') {
+ promptText = "Hey Jules, can you install and setup TORCH into this repo? Here is the install command:\n\nnpm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz && npx torch-lock init";
+ } else if (agent === 'claude') {
+ promptText = "Hey Claude, can you install and setup TORCH into this repo? Here is the install command:\n\nnpm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz && npx torch-lock init";
+ }
+
+ if (installCmd) {
+ installCmd.textContent = promptText;
+ }
+ }