mirror of
https://github.com/ollama/ollama
synced 2026-04-23 08:45:14 +00:00
tui: update chat title (#15082)
This commit is contained in:
parent
1adfc27f04
commit
f567abc63f
|
|
@ -47,7 +47,7 @@ type menuItem struct {
|
|||
|
||||
var mainMenuItems = []menuItem{
|
||||
{
|
||||
title: "Run a model",
|
||||
title: "Chat with a model",
|
||||
description: "Start an interactive chat with a model",
|
||||
isRunModel: true,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ func launcherTestState() *launch.LauncherState {
|
|||
|
||||
func TestMenuRendersPinnedItemsAndMore(t *testing.T) {
|
||||
view := newModel(launcherTestState()).View()
|
||||
for _, want := range []string{"Run a model", "Launch Claude Code", "Launch Codex", "Launch OpenClaw", "More..."} {
|
||||
for _, want := range []string{"Chat with a model", "Launch Claude Code", "Launch Codex", "Launch OpenClaw", "More..."} {
|
||||
if !strings.Contains(view, want) {
|
||||
t.Fatalf("expected menu view to contain %q\n%s", want, view)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue