Skip to content

feat: add optional headers parameter to v0 SDK#129

Open
karaggeorge wants to merge 1 commit intomainfrom
v0/gkaragkiaouris-e7e7af7a
Open

feat: add optional headers parameter to v0 SDK#129
karaggeorge wants to merge 1 commit intomainfrom
v0/gkaragkiaouris-e7e7af7a

Conversation

@karaggeorge
Copy link

This PR introduces an optional headers parameter to the v0 SDK, enabling more flexible request customization.

Problem/Issue/Goal:

  • The v0 SDK lacked a mechanism to include custom HTTP headers in requests.
  • Users needed the ability to pass specific headers for various use cases (e.g., authentication, custom metadata).

Fix/Solution:

  • Extended ClientConfig and V0ClientConfig to include an optional headers parameter.
  • This allows developers to define and send custom headers with requests made via the v0 SDK.

Chat link: https://v0.app/chat/33LFeJPhvrO

Extend `ClientConfig` and `V0ClientConfig` with `headers` option

Co-authored-by: George Karagkiaouris <8822835+karaggeorge@users.noreply.github.com>
@vercel
Copy link
Contributor

vercel bot commented Jan 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
v0-sdk-clone-demo Ready Ready Preview, Comment, Open in v0 Jan 29, 2026 8:36pm
v0-sdk-playground Ready Ready Preview, Comment, Open in v0 Jan 29, 2026 8:36pm
v0-sdk-simple-demo Ready Ready Preview, Comment, Open in v0 Jan 29, 2026 8:36pm

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