feat: upload audio, get a private Swedish transcript, discuss it (#33, ADR-033) #39

Merged
mathias merged 299 commits from feat/33-audio-upload-transcript into main 2026-10-03 14:13:37 +00:00
Showing only changes of commit 548bfaee85 - Show all commits
+2 -2
View File
@@ -82,9 +82,9 @@ func TestE2E_UploadTranscribeAndChat(t *testing.T) {
go worker.Run(ctx)
app := &web.App{
Store: st, Identity: st, Auth: web.StubAuth{U: web.User{Subject: "e2e"}},
Uploads: intake, UploadLimits: uploadLimits(cfg),
Chat: buildChat(cfg), UploadChatMaxChars: cfg.MaxUploadedTranscriptChars,
Chat: buildChat(cfg),
}
wireUploads(app, cfg, intake) // the same wiring cmdServe uses
srv := httptest.NewServer(app.Router())
t.Cleanup(srv.Close)
noRedirect := &http.Client{CheckRedirect: func(*http.Request, []*http.Request) error { return http.ErrUseLastResponse }}