Skip to content

docs(sdk): document direct provider parameter declarations - #1214

Draft
wufei-png wants to merge 1 commit into
OpenHands:mainfrom
wufei-png:docs/direct-provider-allowed-params
Draft

wufei-png wants to merge 1 commit into
OpenHands:mainfrom
wufei-png:docs/direct-provider-allowed-params

Conversation

@wufei-png

@wufei-png wufei-png commented Dec 1, 2026 •

Copy link
Copy Markdown
  • I have read and reviewed the documentation changes to the best of my ability.
  • If the change is significant, I have run the documentation site locally and confirmed it renders as expected.

Summary of changes

Show how to save and reuse a profile for a direct OpenAI-compatible Chat Completions endpoint that accepts reasoning_effort. The example declares the parameter, saves the profile, and reads LLM_API_KEY when loading it. The saved profile contains no API key.

The example depends on SDK #7234. Refs OpenHands/software-agent-sdk#6787.

Verification

The updated MDX compiled. Using the companion SDK change, the reloaded profile sent an authenticated loopback request with reasoning_effort="medium". The docs Python suite had 35 passes and two pricing-fixture setup errors. The fixture URL also returns HTTP 404 on the unmodified base. The Mintlify fork preview is awaiting approval.

OpenAI Codex assisted with writing and verification. A separate read-only Codex review checked the example.

@mintlify

mintlify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit afc3a4b.

Approve preview

Show how to persist reasoning effort for an OpenAI-compatible endpoint.

Assisted-by: OpenAI Codex
@wufei-png
wufei-png force-pushed the docs/direct-provider-allowed-params branch from 66b6bed to afc3a4b Compare December 2, 2026 16:11

This branch has not been deployed

No deployments
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.

1 participant