Summary of changes just made
Scope
• Updated SDK docs to fix confusion between anthropic/ and openhands/ model prefixes, and to clearly explain how to run examples with OpenHands Cloud vs a direct provider key.
What changed (since my last summary)
1. sdk/getting-started.mdx
• Added a Tip block under Step 1 explaining:
◦ Bring-your-own provider key (Anthropic/OpenAI/etc.) → use that provider’s prefix (e.g., anthropic/claude-sonnet-4-5-20250929)
◦ OpenHands Cloud → use openhands/-prefixed models (e.g., openhands/claude-sonnet-4-5-20250929)
â—¦ Show how to set LLM_MODEL for OpenHands Cloud:
export LLM_MODEL="openhands/claude-sonnet-4-5-20250929"
• Updated “Run the example” to include:
â—¦ Direct provider key: run as-is
â—¦ OpenHands Cloud: export LLM_MODEL then run the script
â—¦ Added note on what to do if an example hardcodes a model string (replace anthropic/... with openhands/...).
2. sdk/guides/hello-world.mdx
• Added the same Tip about provider prefixes and LLM_MODEL.
• Split “Running the Example” into:
â—¦ Direct provider key
â—¦ OpenHands Cloud with:
export LLM_MODEL="openhands/claude-sonnet-4-5-20250929"
and a link to get the OpenHands API key.
Checklist against your request
• Clarify that:
â—¦ Users can use their own provider key: Done.
â—¦ They can use OpenHands Cloud and where to get the API key: Done (link included).
â—¦ If using OpenHands provider, run the script with LLM_MODEL set and indicate which model: Done with explicit export.
• Fix mismatch between docs recommending openhands/ and example assuming anthropic/: Addressed by instructions and explicit env var; examples remain synced while the docs now prevent confusion.
• Changes are minimal and focused on these points: Yes.
Git
• Committed locally with a clear message and Co-authored-by.
• Pushed to a new branch and opened a draft PR:
â—¦ Branch: docs/fix-getting-started-llm-prefix
â—¦ PR:
https://github.com/OpenHands/docs/pull/127
Let me know if you want me to:
• Mark the PR ready for review, or
• Make additional wording tweaks, or
• Keep it as draft for now.
<sub>
View full conversation</sub>