Repository navigation
Conversation
…red app id The official live_transcription app uses its app id as the top level key of its capabilities. Since the provider app id is configurable, a provider following the same convention under another id was rejected as having a wrong capabilities structure. Assisted-by: Claude Code:claude-fable-5-2 Signed-off-by: Ivan Kušt <ivankust57@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
☑️ Resolves
live_transcription) #20517Talk reads the capabilities of the live transcription provider under the hardcoded key
live_transcription. The official app builds that key from its own app id, so it only matches because the app is calledlive_transcription.Since #20369 the provider app id is configurable. A provider with another id that follows the same convention answers under its own id, and Talk rejects it with
response-capabilities-wrong-structure.This PR reads the capabilities under the configured app id (
live_transcription_app_id) instead. Nothing changes for the official app.Behavior change to be aware of: a provider with another id that answers under the key
live_transcriptionis no longer accepted. It has to answer under its own app id.Testing: not validated on a live Nextcloud instance yet, and no unit tests were run. To test:
live_transcription_app_idto an external app that answersGET /capabilitiesunder its own app id.GET /ocs/v2.php/apps/spreed/api/v1/live-transcription/translation-languages.AI (if applicable)
🛠️ API Checklist
🚧 Tasks
🏁 Checklist
docs/has been updated or is not requiredTests: none included.
LiveTranscriptionServicehas no unit tests onmainyet.