Skip to content

Conversation

@zainhas
Copy link
Collaborator

@zainhas zainhas commented Nov 19, 2025

add audio_url as allowable input to chat completions


Note

Adds audio_url message content support, including a CLI flag to attach audio URLs to the last user message and corresponding type updates.

  • CLI (src/together/cli/api/chat.py):
    • Add --audio-url option (repeatable) to attach audio URLs to the last user message.
    • Convert last message content to structured list when needed and append {type: "audio_url", audio_url: {url}} entries.
    • Tighten typing for messages construction.
  • Types (src/together/types/chat_completions.py):
    • Extend ChatCompletionMessageContentType with "audio_url".
    • Add ChatCompletionMessageContentAudioURL model and audio_url field to ChatCompletionMessageContent.

Written by Cursor Bugbot for commit 365c2bf. This will update automatically on new commits. Configure here.

@zainhas zainhas merged commit 4f3647d into main Nov 19, 2025
12 checks passed
@zainhas zainhas deleted the multimodal-chat branch November 19, 2025 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants