Skip to content

Add hf_token to repo2graph image - #735

Merged
Evanfeenstra merged 1 commit into
masterfrom
ef/repo2graph-hf-token
Aug 28, 2026
Merged

Add hf_token to repo2graph image#735
Evanfeenstra merged 1 commit into
masterfrom
ef/repo2graph-hf-token

Conversation

@Evanfeenstra

Copy link
Copy Markdown
Collaborator

Adds an hf_token field to Repo2GraphImage, emitted as HF_TOKEN in the container env.

  • Sourced from the YAML config field when set, falling back to the host HF_TOKEN env var (same pattern as jamie.rs).
  • Marked #[serde(skip_serializing_if = "Option::is_none")] so existing stack configs serialize unchanged.

cargo check --lib passes.

🤖 Generated with Claude Code

Emits HF_TOKEN into the repo2graph container env. Sourced from the
YAML field when set, otherwise from the host HF_TOKEN env var (same
pattern as jamie). Field is skip_serializing_if = "Option::is_none"
so existing stack configs keep serializing unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Evanfeenstra
Evanfeenstra merged commit 294be2b into master Aug 28, 2026
2 checks passed
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