kodeagent.tools.transcribe_audio#

kodeagent.tools.transcribe_audio(file_path: str) str[source]#

Convert audio files to text using Fireworks AI Whisper API. The input should be a path to an audio file (e.g., .mp3, .wav, .flac).

Parameters:

file_path – Local file system path to the audio file.

Returns:

The transcript of the audio file as text, or an error message.