Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(voiceNotes): remove redundant codec fields from voice note payload

Steven Enamakel31ce279c6a95
diff --git a/app/src/features/voiceNotes/voiceNoteApi.ts b/app/src/features/voiceNotes/voiceNoteApi.ts
index 0a4b5256d8..4f53f35e85 100644
--- a/app/src/features/voiceNotes/voiceNoteApi.ts
+++ b/app/src/features/voiceNotes/voiceNoteApi.ts
@@ -60,7 +60,6 @@ export async function voiceNoteContentPart(
return {
kind: 'voice_note',
voiceNote: {
- codec: contentType,
durationMs,
waveform,
pushToTalk: false,
@@ -68,7 +67,6 @@ export async function voiceNoteContentPart(
opaqueId: noteId,
kind: 'audio',
contentType,
- codec: contentType,
durationMs,
sizeBytes: blob.size,
},