Skip to content

Add SiliconFlow transcription provider#68

Open
shuimaoiko wants to merge 1 commit into
nibzard:mainfrom
shuimaoiko:codex/siliconflow-sapat-provider
Open

Add SiliconFlow transcription provider#68
shuimaoiko wants to merge 1 commit into
nibzard:mainfrom
shuimaoiko:codex/siliconflow-sapat-provider

Conversation

@shuimaoiko

@shuimaoiko shuimaoiko commented Jun 21, 2026

Copy link
Copy Markdown

Summary

  • Add a SiliconFlow transcription provider for the official /v1/audio/transcriptions endpoint.
  • Use SILICONFLOW_API_KEY for auth and FunAudioLLM/SenseVoiceSmall as the default model.
  • Add aliases for sensevoice, sensevoice-small, teleai, and telespeech.
  • Keep the SiliconFlow request body aligned to the documented file + model form fields.
  • Fix process_file so user-owned audio that is already in the provider preferred format is not deleted as temporary converted audio.

Validation

  • .venv/bin/python -m pytest tests/providers/test_siliconflow.py tests/test_registry.py tests/test_process.py -q
  • .venv/bin/python -m pytest -q
  • .venv/bin/python -m black --check sapat/providers/siliconflow.py sapat/process.py tests/providers/test_siliconflow.py tests/test_process.py
  • .venv/bin/python -m compileall sapat tests/providers/test_siliconflow.py tests/test_process.py
  • git diff --check

Companion contribution for daytonaio/content#13. No secrets, private media, transcripts, or payout details are included.

@shuimaoiko shuimaoiko force-pushed the codex/siliconflow-sapat-provider branch from 2d17605 to 5109bda Compare June 21, 2026 05:49
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.

1 participant