Skip to content

Document model_providers headers in configuration reference#950

Open
Spherrrical wants to merge 6 commits into
mainfrom
cursor/document-model-provider-headers-0300
Open

Document model_providers headers in configuration reference#950
Spherrrical wants to merge 6 commits into
mainfrom
cursor/document-model-provider-headers-0300

Conversation

@Spherrrical
Copy link
Copy Markdown
Collaborator

Fixes #948.

Adds headers to the configuration reference with a short comment and example (Moonshot Kimi User-Agent). Regenerated plano_config_full_reference_rendered.yaml.

headers is an optional string map on each model_providers / llm_providers entry. Plano applies these on upstream requests after auth headers are set.

Open in Web Open in Cursor 

cursoragent and others added 6 commits May 18, 2026 17:52
Co-authored-by: Musa <musa@spherrrical.dev>
Co-authored-by: Musa <musa@spherrrical.dev>
Wait for the full upstream body before JSON parsing to avoid truncated
responses on chunked replies. Retry currency_exchange demo tests on flake.

Co-authored-by: Musa <musa@spherrrical.dev>
…_of_stream

Co-authored-by: Musa <musa@spherrrical.dev>
Copy link
Copy Markdown
Contributor

@adilhafeez adilhafeez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls remove the rs code as that is not related to this code change also update rst file to add docs explaining custom headers

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.

Documentation missing: model_providers supports custom headers configuration

3 participants