Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aider/voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def raw_record_and_transcribe(self, history, language):
# Check file size and offer to convert to mp3 if too large
file_size = os.path.getsize(temp_wav)
if file_size > 24.9 * 1024 * 1024 and self.audio_format == "wav":
print("\nWarning: {temp_wav} is too large, switching to mp3 format.")
print(f"\nWarning: {temp_wav} is too large, switching to mp3 format.")
use_audio_format = "mp3"

filename = temp_wav
Expand Down