Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0d7a665
Add Hugging Face auth support
jh-block Jun 1, 2026
670b5c0
Mark Hugging Face OAuth as configured
jh-block Jun 1, 2026
551daf8
Resolve Hugging Face tokens lazily
jh-block Jun 1, 2026
681d36d
Request Hugging Face inference scope
jh-block Jun 1, 2026
60b4138
Prefer explicit Hugging Face provider tokens
jh-block Jun 1, 2026
edaf75f
Secure Hugging Face token cache
jh-block Jun 2, 2026
a15e7c8
Respect no-auth Hugging Face custom configs
jh-block Jun 2, 2026
a086d30
Use CIMD for Hugging Face OAuth
jh-block Jun 2, 2026
b841973
Unconfigure Hugging Face after deleting OAuth token
jh-block Jun 2, 2026
1f4f97b
Refresh Hugging Face tokens and preserve custom models
jh-block Jun 2, 2026
48ad3a7
Unconfigure Hugging Face after deleting HF_TOKEN
jh-block Jun 2, 2026
b8e9700
Allow public Hugging Face searches without auth
jh-block Jun 2, 2026
30c2ed9
Accept refreshable Hugging Face OAuth tokens
jh-block Jun 2, 2026
2e0a096
Allow public Hugging Face downloads without auth
jh-block Jun 2, 2026
bcf5d8e
Refresh custom Hugging Face provider auth
jh-block Jun 2, 2026
aa2ff08
Share Hugging Face configured token checks
jh-block Jun 2, 2026
54bcc94
Resolve Hugging Face auth per request
jh-block Jun 2, 2026
60b7654
Fall back to HF_TOKEN after OAuth refresh failure
jh-block Jun 2, 2026
c3724b0
Collapse shared Databricks OAuth credential
jh-block Jun 2, 2026
b6254c5
Merge origin/main into Hugging Face auth branch
jh-block Jun 2, 2026
0493050
Refresh Hugging Face auth for CLI downloads
jh-block Jun 2, 2026
6119db0
Honor Hugging Face OAuth for catalog providers
jh-block Jun 2, 2026
dfc9682
Keep public Hugging Face CLI downloads unauthenticated
jh-block Jun 2, 2026
8f08ce2
Respect non-streaming Hugging Face providers
jh-block Jun 2, 2026
bb99885
Use Hugging Face auth for inventory status
jh-block Jun 2, 2026
e44358e
Respect Hugging Face custom auth inventory
jh-block Jun 2, 2026
ce38144
Add Hugging Face sign-in prompts
jh-block Jun 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion crates/goose-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1939,11 +1939,16 @@ async fn handle_local_models_command(command: LocalModelsCommand) -> Result<()>

// Download
let manager = goose::download_manager::get_download_manager();
let hf_token = goose::providers::huggingface_auth::resolve_token_async()
.await
.ok()
.flatten();
manager
.download_model_sharded(
.download_model_sharded_with_bearer_token(
format!("{}-model", model_id),
download_files,
file.size_bytes + mmproj_size_bytes,
hf_token,
None,
)
.await?;
Expand Down
6 changes: 6 additions & 0 deletions crates/goose-server/src/openapi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ derive_utoipa!(IconTheme as IconThemeSchema);
super::routes::config_management::remove_extension,
super::routes::config_management::get_extensions,
super::routes::config_management::read_all_config,
super::routes::config_management::list_provider_secrets,
super::routes::config_management::delete_provider_secret,
super::routes::config_management::providers,
super::routes::config_management::get_provider_models,
super::routes::config_management::get_provider_model_info,
Expand Down Expand Up @@ -488,6 +490,10 @@ derive_utoipa!(IconTheme as IconThemeSchema);
super::routes::config_management::ConfigResponse,
super::routes::config_management::ProvidersResponse,
super::routes::config_management::ProviderDetails,
super::routes::config_management::ProviderSecretsResponse,
super::routes::config_management::ProviderSecret,
super::routes::config_management::ProviderSecretStorage,
super::routes::config_management::ProviderSecretStatus,
super::routes::config_management::SlashCommandsResponse,
super::routes::config_management::SlashCommand,
super::routes::config_management::CommandType,
Expand Down
Loading
Loading