Skip to content

fix: raise error when audio recording URL is inaccessible (TH-4734)#225

Merged
KarthikAvinashFI merged 1 commit intomainfrom
fix/TH-4734-audio-url-error
May 5, 2026
Merged

fix: raise error when audio recording URL is inaccessible (TH-4734)#225
KarthikAvinashFI merged 1 commit intomainfrom
fix/TH-4734-audio-url-error

Conversation

@KarthikAvinashFI
Copy link
Copy Markdown
Contributor

When detect_input_type returns 'file' for an HTTP URL, raise a user-facing error instead of silently passing URL as text.

When detect_input_type returns 'file' for a URL with audio extension
(.wav, .mp3, etc.), raise a user-facing ValueError instead of silently
passing the URL as plain text to the LLM. This prevents meaningless
eval results when recording URLs are not accessible.
@KarthikAvinashFI KarthikAvinashFI merged commit 618dbaa into main May 5, 2026
2 of 3 checks passed
@KarthikAvinashFI KarthikAvinashFI deleted the fix/TH-4734-audio-url-error branch May 5, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants