Skip to content

[Inference Providers] Fix missing commands in Claude Code billing section#2591

Merged
hanouticelina merged 2 commits into
mainfrom
fix-claude-code-billing-commands
Jun 24, 2026
Merged

[Inference Providers] Fix missing commands in Claude Code billing section#2591
hanouticelina merged 2 commits into
mainfrom
fix-claude-code-billing-commands

Conversation

@hanouticelina

@hanouticelina hanouticelina commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

#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-claude extensionhf claude --bill-to your-org-name
  • HF_BILL_TO env varexport HF_BILL_TO="your-org-name"
  • Manual setup via ANTHROPIC_CUSTOM_HEADERSexport 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 bash blocks 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", and export ANTHROPIC_CUSTOM_HEADERS="X-HF-Bill-To: your-org-name".

Reviewed by Cursor Bugbot for commit f656001. Configure here.

…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
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

- 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
@hanouticelina
hanouticelina merged commit 988ce3c into main Jun 24, 2026
2 checks passed
@hanouticelina
hanouticelina deleted the fix-claude-code-billing-commands branch June 24, 2026 16:38
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.

3 participants