@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
61 lines • 2.59 kB
JavaScript
import { APP_NAME } from "../../../../config.js";
export const MODEL_TIPS = [
{
id: "thinking-level",
bindings: ["app.thinking.cycle"],
render: (keys) => `Use /thinking <level> to set the thinking level, /thinking to pick one, or ${keys("app.thinking.cycle")} to cycle through them.`,
},
{
id: "efforts-command",
bindings: [],
requiresCommand: "efforts",
render: () => "Use /efforts <level> to set the reasoning effort for the current model; /efforts alone lists the levels it supports.",
},
{
id: "favorite-model-rotation",
bindings: ["app.model.cycleForward", "app.model.cycleBackward"],
render: (keys) => `Rotate through favorite models with ${keys("app.model.cycleForward")}; go backward with ${keys("app.model.cycleBackward")}.`,
},
{
id: "model-selector-favorites",
bindings: ["app.model.select", "app.models.toggleFavorite"],
render: (keys) => `Open the model selector with ${keys("app.model.select")}, then use ${keys("app.models.toggleFavorite")} to toggle the highlighted favorite.`,
},
{
id: "model-command-search",
bindings: [],
render: () => "Use /model to open the selector, or /model <pattern> to jump straight to a matching model.",
},
{
id: "model-cycling-scope",
bindings: ["app.model.cycleForward"],
render: (keys) => `Start ${APP_NAME} with --models "anthropic/*,gpt-6*" to limit which models ${keys("app.model.cycleForward")} cycles through.`,
},
{
id: "thinking-budgets",
bindings: [],
render: () => "Set thinkingBudgets in settings.json to choose the token budget behind each thinking level.",
},
{
id: "prompt-preset",
bindings: [],
render: () => "Set promptPreset in settings.json when a model does not auto-detect the system prompt you want.",
},
{
id: "provider-login",
bindings: [],
render: () => "Use /login to add a subscription or API-key provider, and /logout to remove stored credentials.",
},
{
id: "fallback-chains-setting",
bindings: [],
render: () => "retry.fallbackChains in settings.json maps a model to ordered fallbacks, so a failed turn retries on the next one.",
},
{
id: "fallback-command",
bindings: [],
requiresCommand: "fallback",
render: () => "Use /fallback to inspect and manage the retry fallback chain for the current model.",
},
];
//# sourceMappingURL=model-tips.js.map