web: unify mobile back and audit controls and link pipeline run history

This commit is contained in:
2026-10-20 16:25:07 +01:00
parent 4e35da7473
commit 6841cdd2a4
16 changed files with 239 additions and 36 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func TestChatBrowserLifecycleAndModelDialog(t *testing.T) {
}
fake.models = []protocol.ChatModel{{ID: "model-a", Provider: "fixture", Name: "Model Alpha"}, {ID: "model-b", Provider: "fixture", Name: "Model Beta"}}
fake.messages = []protocol.ChatMessage{
{ID: "msg_user", Role: protocol.ChatRoleUser, Parts: []protocol.ChatPart{{Type: "text", Text: "Scratch prompt"}}},
{ID: "msg_user", Role: protocol.ChatRoleUser, Parts: []protocol.ChatPart{{Type: "text", Text: strings.Repeat("Earlier scratch prompt line\n", 100)}}},
{ID: "msg_answer", Role: protocol.ChatRoleAssistant, Parts: []protocol.ChatPart{{Type: "reasoning", Text: "Controlled reasoning evidence"}, {Type: "text", Text: "Controlled answer"}}},
}
handler := HandlerWithOptions(ctx, Options{Chat: browserModelFixture{fake}}, store)