Skip to content

Change HUGGINGFACEHUB_API_TOKEN to HF_TOKEN for AgentQnA,AudioQnA,ChatQnA #2093

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ZePan110
Copy link
Collaborator

@ZePan110 ZePan110 commented Jun 26, 2025

Description

Change HUGGINGFACEHUB_API_TOKEN to HF_TOKEN fpr AgentQnA,AudioQnA,ChatQnA

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

List the newly introduced 3rd party dependency if exists.

Tests

Describe the tests that you ran to verify your changes.

@Copilot Copilot AI review requested due to automatic review settings June 26, 2025 05:03
Copy link

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR standardizes the environment variable used for authentication by replacing HUGGINGFACEHUB_API_TOKEN with HF_TOKEN across various Docker Compose files.

  • Updated token environment variable name in all docker compose files
  • Ensured consistency with the new token naming convention

Reviewed Changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated no comments.

File Description
ChatQnA/docker_compose/* Replaced HUGGINGFACEHUB_API_TOKEN with HF_TOKEN for various services
AgentQnA/docker_compose/* Updated token variable; note potential naming inconsistency with HUGGING_FACE_HUB_TOKEN
AudioQnA/docker_compose/* Standardized token configuration to HF_TOKEN
Other docker_compose files (intel, amd, cpu, etc.) Consistent removal of HUGGINGFACEHUB_API_TOKEN in favor of HF_TOKEN
Comments suppressed due to low confidence (1)

AgentQnA/docker_compose/amd/gpu/rocm/compose.yaml:16

  • In this file, 'HUGGING_FACE_HUB_TOKEN' is still present alongside the new 'HF_TOKEN'. For consistency in authentication token naming, consider consolidating them to a single variable name across all configurations.
      HUGGING_FACE_HUB_TOKEN: ${HF_TOKEN}

@ZePan110 ZePan110 changed the title Change HUGGINGFACEHUB_API_TOKEN to HF_TOKEN Change HUGGINGFACEHUB_API_TOKEN to HF_TOKEN for AgentQnA,ChatQnA Jun 26, 2025
@ZePan110 ZePan110 changed the title Change HUGGINGFACEHUB_API_TOKEN to HF_TOKEN for AgentQnA,ChatQnA Change HUGGINGFACEHUB_API_TOKEN to HF_TOKEN for AgentQnA,AudioQnA,ChatQnA Jun 26, 2025
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