[Inference Providers] Fix missing commands in Claude Code billing section#2591
Merged
Conversation
…ction PR #2588 merged with empty/malformed code blocks in the "Billing to an Organization" section, so the actual commands were missing. This restores the three command snippets: - `hf claude --bill-to your-org-name` (hf-claude extension) - `export HF_BILL_TO="your-org-name"` (env var) - `export ANTHROPIC_CUSTOM_HEADERS="X-HF-Bill-To: your-org-name"` (manual) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CCzpk1dTa5yZW8PQeeL7Jb
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
julien-c
approved these changes
Jun 24, 2026
- hf-claude --bill-to block: prepend `hf extensions install hf-claude --force` to get the latest extension - HF_BILL_TO block: add `hf claude` to launch - ANTHROPIC_CUSTOM_HEADERS block: add `claude` to launch Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CCzpk1dTa5yZW8PQeeL7Jb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#2588 added a "Billing to an Organization" section to the Claude Code integration page, but it merged with empty/malformed code blocks — the actual commands were missing and the markdown fences were unbalanced.
This restores the three intended command snippets (as described in #2588's own description):
hf-claudeextension —hf claude --bill-to your-org-nameHF_BILL_TOenv var —export HF_BILL_TO="your-org-name"ANTHROPIC_CUSTOM_HEADERS—export ANTHROPIC_CUSTOM_HEADERS="X-HF-Bill-To: your-org-name"🤖 Generated with Claude Code
Note
Low Risk
Documentation-only fix with no runtime, API, or security behavior changes.
Overview
Fixes broken markdown in the Claude Code integration doc’s Billing to an Organization section: the three billing options were described in text but their fenced
bashblocks were empty or malformed, so readers couldn’t copy the commands.Restores the intended snippets:
hf claude --bill-to your-org-name,export HF_BILL_TO="your-org-name", andexport ANTHROPIC_CUSTOM_HEADERS="X-HF-Bill-To: your-org-name".Reviewed by Cursor Bugbot for commit f656001. Configure here.