gitarsenal-cli 1.4.9 ā 1.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/gitarsenal.js +1 -18
- package/package.json +1 -1
- package/python/test_modalSandboxScript.py +11 -1
package/bin/gitarsenal.js
CHANGED
@@ -225,24 +225,7 @@ async function runContainerCommand(options) {
|
|
225
225
|
}
|
226
226
|
}
|
227
227
|
|
228
|
-
//
|
229
|
-
console.log(chalk.bold('\nš Container Configuration:'));
|
230
|
-
console.log(chalk.cyan('Repository URL: ') + repoUrl);
|
231
|
-
console.log(chalk.cyan('GPU Type: ') + gpuType);
|
232
|
-
console.log(chalk.cyan('Volume: ') + (volumeName || 'None'));
|
233
|
-
|
234
|
-
if (useApi) {
|
235
|
-
console.log(chalk.cyan('Setup Commands: ') + 'Auto-detect from repository');
|
236
|
-
} else if (setupCommands.length > 0) {
|
237
|
-
console.log(chalk.cyan('Setup Commands:'));
|
238
|
-
setupCommands.forEach((cmd, i) => {
|
239
|
-
console.log(` ${i + 1}. ${cmd}`);
|
240
|
-
});
|
241
|
-
} else {
|
242
|
-
console.log(chalk.cyan('Setup Commands: ') + 'None');
|
243
|
-
}
|
244
|
-
|
245
|
-
// Confirm settings
|
228
|
+
// Confirm settings (configuration will be shown by Python script after GPU selection)
|
246
229
|
if (!skipConfirmation) {
|
247
230
|
const confirmAnswers = await inquirer.prompt([
|
248
231
|
{
|
package/package.json
CHANGED
@@ -4147,7 +4147,7 @@ def prompt_for_gpu():
|
|
4147
4147
|
"""Display the GPU selection menu with current selection highlighted."""
|
4148
4148
|
print("\nš Available GPU Options:")
|
4149
4149
|
print("āāāāāāāāāāāāāāāā¬āāāāāāāāāā")
|
4150
|
-
print("ā
|
4150
|
+
print("ā GPU Type ā VRAM ā")
|
4151
4151
|
print("āāāāāāāāāāāāāāāā¼āāāāāāāāāā¤")
|
4152
4152
|
|
4153
4153
|
for i, gpu_type in enumerate(options):
|
@@ -4299,6 +4299,16 @@ if __name__ == "__main__":
|
|
4299
4299
|
else:
|
4300
4300
|
print("Setup Commands: Auto-detect from repository")
|
4301
4301
|
|
4302
|
+
# Confirm settings
|
4303
|
+
try:
|
4304
|
+
proceed = input("Proceed with these settings? (Y/n): ").strip().lower()
|
4305
|
+
if proceed in ('n', 'no'):
|
4306
|
+
print("š Operation cancelled by user.")
|
4307
|
+
sys.exit(0)
|
4308
|
+
except KeyboardInterrupt:
|
4309
|
+
print("\nš Operation cancelled by user.")
|
4310
|
+
sys.exit(0)
|
4311
|
+
|
4302
4312
|
# Interactive mode or missing required arguments
|
4303
4313
|
if args.interactive or not args.repo_url or not args.volume_name:
|
4304
4314
|
# Get repository URL if not provided
|