chore #14740: remove claude config and customer selection
Summaries are not coming to the desktop app, and the customer is chosen in the web UI after the upload: - drop the Anthropic key (Service::Anthropic, Settings field) and delete a leftover keyring entry best-effort at startup - drop the Summary model, the store's summary accessors and the "Zusammenfassung" tab; the transcript is the detail's only content - drop the mocked customer accounts, list_accounts/set_account and the "Kunde" dropdown; calls.account_id and summaries stay in the schema Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -45,13 +45,12 @@ pub fn duration_secs(call: &Call) -> i64 {
|
||||
}
|
||||
|
||||
/// The selected call's header data: its list row plus the error of a
|
||||
/// failed run and the assigned account.
|
||||
/// failed run.
|
||||
#[derive(Serialize, Clone, Debug, PartialEq)]
|
||||
pub struct CallHeader {
|
||||
#[serde(flatten)]
|
||||
pub item: CallListItem,
|
||||
pub error: Option<String>,
|
||||
pub account_id: Option<String>,
|
||||
}
|
||||
|
||||
/// A transcript line with the speaker's display label.
|
||||
@@ -115,7 +114,6 @@ impl CallDetail {
|
||||
call: CallHeader {
|
||||
item: CallListItem::of(call),
|
||||
error: call.error.clone(),
|
||||
account_id: call.account_id.clone(),
|
||||
},
|
||||
segments,
|
||||
merges: merge_views(merges, &speaker_names),
|
||||
@@ -176,7 +174,6 @@ mod tests {
|
||||
out_path: PathBuf::from("7-out.wav"),
|
||||
transcribed_at: None,
|
||||
audio_deleted: false,
|
||||
account_id: None,
|
||||
title: None,
|
||||
}
|
||||
}
|
||||
@@ -330,7 +327,6 @@ mod tests {
|
||||
let mut c = call(Some(at(10, 15, 0)));
|
||||
c.status = CallStatus::Failed;
|
||||
c.error = Some("Netzwerkfehler".into());
|
||||
c.account_id = Some("mock-2".into());
|
||||
c.title = Some("Reklamation".into());
|
||||
let merges = keys(&[("remote:2", "remote:1")]);
|
||||
|
||||
@@ -349,7 +345,6 @@ mod tests {
|
||||
"interrupted": false,
|
||||
"title": "Reklamation",
|
||||
"error": "Netzwerkfehler",
|
||||
"account_id": "mock-2",
|
||||
},
|
||||
"segments": [],
|
||||
"speaker_names": {},
|
||||
|
||||
Reference in New Issue
Block a user