mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-15 12:41:37 +03:00
feat(tui): add effort variant alias (#49078)
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
2463612418
commit
7dcafbfa0b
@@ -908,7 +908,7 @@ function App(props: { pair?: DialogPairCredentials }) {
|
||||
title: "Switch model variant",
|
||||
category: "Agent",
|
||||
palette: local.model.variant.list().length === 0 ? undefined : (true as const),
|
||||
slash: { name: "variants", aliases: ["thinking"] },
|
||||
slash: { name: "variants", aliases: ["thinking", "effort"] },
|
||||
run: () => {
|
||||
if (local.model.variant.list().length === 0) {
|
||||
return toast.show({
|
||||
|
||||
Reference in New Issue
Block a user