Add explanatory comments across codebase
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
// Pinokio menu "Cloud login": asks for the provider, then runs the omp login through llama.py.
|
||||
module.exports = {
|
||||
run: [{
|
||||
// Step 1: choose the provider.
|
||||
method: "input",
|
||||
params: {
|
||||
title: "Cloud login (omp)",
|
||||
form: [{ type: "select", key: "provider", title: "Provider", default: "github-copilot",
|
||||
items: [{ text: "GitHub Copilot", value: "github-copilot" }, { text: "Anthropic (Claude Pro/Max)", value: "anthropic" }] }]
|
||||
}
|
||||
// Step 2: run the login in the terminal; input: true lets the user answer prompts.
|
||||
}, {
|
||||
method: "shell.run",
|
||||
params: { path: "app", input: true, message: "uv run --script llama.py login {{input.provider}}" }
|
||||
|
||||
Reference in New Issue
Block a user