Skip to content

Add LocalAI transcription provider#43

Open
JJ-Lin wants to merge 1 commit into
nibzard:mainfrom
JJ-Lin:feature/localai-transcription-provider
Open

Add LocalAI transcription provider#43
JJ-Lin wants to merge 1 commit into
nibzard:mainfrom
JJ-Lin:feature/localai-transcription-provider

Conversation

@JJ-Lin
Copy link
Copy Markdown

@JJ-Lin JJ-Lin commented May 23, 2026

Summary

  • Adds a LocalAI transcription provider that calls the OpenAI-compatible /v1/audio/transcriptions endpoint.
  • Exposes --api localai and documents LOCALAI_BASE_URL, LOCALAI_MODEL, and optional LOCALAI_API_KEY.
  • Keeps optional provider imports lazy so direct pytest runs do not require unrelated API SDKs.

Testing

  • pytest -q
  • .venv/bin/python -m unittest discover -s tests
  • .venv/bin/python -m compileall src tests
  • git diff --check

This is the companion code change for a Daytona content guide targeting daytonaio/content#13.

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