Repository navigation
chore: regenerate examples from updated skills - #262
Closed
cursor[bot] wants to merge 1 commit into
Closed
cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Collaborator
|
update seems minor |
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.
Regenerated examples after elevenlabs/skills#146 (Update skills from changelog 2026-10-26) merged.
pnpm generatesummaryChanged directories
Are the changes meaningful?
This is a small but real fix. It is not driven by skills PR #146, whose changes (agent
service_tier,start_procedure_ids, widgetmobile-fullscreen, TTSclone_strength, Voice Changer REST path wording) are docs-only and don't touch anything these examples use.client.speech_to_text.convert()returns a union ofSpeechToTextChunkResponseModel,MultichannelSpeechToTextResponseModelandSpeechToTextWebhookResponseModel(elevenlabs2.75.0). The old code readresult.textdirectly, and pyright reports 2 errors because the multichannel and webhook variants have notextattribute. The update narrows withisinstance(result, SpeechToTextChunkResponseModel)and exits with a readable error otherwise. Runtime behaviour for this single-channel, non-webhook call is unchanged.Checked locally:
pyright main.py(0 errors, down from 2 before the change) andruff check main.py(passes).Note on the run
The dependency-install step for
music/typescript/quickstarthung for about 40 minutes. The example pinspackageManager: pnpm@9.15.4, and corepack (COREPACK_ENABLE_DOWNLOAD_PROMPT=1) waited on an interactive download prompt whose text was hidden by the script's output capture. That step isn't covered by the 600s timeout. I answered the prompt manually and the run continued. A follow-up could setCOREPACK_ENABLE_DOWNLOAD_PROMPT=0or redirect stdin from/dev/nullininstall_example_dependencies.