Skip to content

fix: derive SDK request headers from installed version - #33

Merged
amanda-vapi merged 1 commit into
mainfrom
codex/sdk-version-headers
Oct 28, 2026
Merged

amanda-vapi merged 1 commit into
mainfrom
codex/sdk-version-headers

Conversation

@amanda-vapi

@amanda-vapi amanda-vapi commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

The generated SDK candidate sends vapi_server_sdk/0.0.0-fern-placeholder as its User-Agent, causing the existing installed-package version check to fail. Derive both SDK version headers from the package's existing vapi.version.__version__ so request headers follow the installed distribution version.

Validation: PR CI passes: mypy plus all seven Python/Pydantic matrix combinations covering Python 3.10–3.14, wheel installation, dependency checks, standard tests, aiohttp tests, and version headers.

The fix is also incorporated into SDK PR #28, whose full CI matrix now passes. This fixes the version header only; the SDK candidate's version selection and API compatibility still need release review. No publication was performed.

@amanda-vapi
amanda-vapi merged commit 6090072 into main Oct 28, 2026
19 checks passed
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.

2 participants