fix: cleaner view subagents hint text (#6437)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
parent
2434965b7f
commit
a6d225558c
2 changed files with 6 additions and 4 deletions
|
|
@ -1716,8 +1716,8 @@ ToolRegistry.register<typeof TaskTool>({
|
||||||
</box>
|
</box>
|
||||||
</Show>
|
</Show>
|
||||||
<text fg={theme.text}>
|
<text fg={theme.text}>
|
||||||
{keybind.print("session_child_cycle")}, {keybind.print("session_child_cycle_reverse")}
|
{keybind.print("session_child_cycle")}
|
||||||
<span style={{ fg: theme.textMuted }}> to navigate between subagent sessions</span>
|
<span style={{ fg: theme.textMuted }}> view subagents</span>
|
||||||
</text>
|
</text>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,6 @@ export namespace ProviderTransform {
|
||||||
const id = model.id.toLowerCase()
|
const id = model.id.toLowerCase()
|
||||||
if (id.includes("qwen")) return 1
|
if (id.includes("qwen")) return 1
|
||||||
if (id.includes("minimax-m2")) {
|
if (id.includes("minimax-m2")) {
|
||||||
if (id.includes("m2.1")) return 0.9
|
|
||||||
return 0.95
|
return 0.95
|
||||||
}
|
}
|
||||||
if (id.includes("gemini")) return 0.95
|
if (id.includes("gemini")) return 0.95
|
||||||
|
|
@ -239,7 +238,10 @@ export namespace ProviderTransform {
|
||||||
|
|
||||||
export function topK(model: Provider.Model) {
|
export function topK(model: Provider.Model) {
|
||||||
const id = model.id.toLowerCase()
|
const id = model.id.toLowerCase()
|
||||||
if (id.includes("minimax-m2")) return 20
|
if (id.includes("minimax-m2")) {
|
||||||
|
if (id.includes("m2.1")) return 40
|
||||||
|
return 20
|
||||||
|
}
|
||||||
if (id.includes("gemini")) return 64
|
if (id.includes("gemini")) return 64
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue