XciD HF Staff commited on
Commit
92ec493
·
verified ·
1 Parent(s): aa3a665

Update src/main.rs

Browse files
Files changed (1) hide show
  1. src/main.rs +2 -0
src/main.rs CHANGED
@@ -55,6 +55,7 @@ impl HfFile {
55
  #[schemars(description = "repo type (models, datasets, spaces.)")]
56
  repo_type: String,
57
  ) -> Result<CallToolResult, McpError> {
 
58
  let response = self
59
  .http_client
60
  .get(format!(
@@ -89,6 +90,7 @@ impl HfFile {
89
  #[schemars(description = "file path")]
90
  file_path: String,
91
  ) -> Result<CallToolResult, McpError> {
 
92
  let response = self
93
  .http_client
94
  .get(format!(
 
55
  #[schemars(description = "repo type (models, datasets, spaces.)")]
56
  repo_type: String,
57
  ) -> Result<CallToolResult, McpError> {
58
+ println!("Listing files in HF Hub {repo_type}/{repository}");
59
  let response = self
60
  .http_client
61
  .get(format!(
 
90
  #[schemars(description = "file path")]
91
  file_path: String,
92
  ) -> Result<CallToolResult, McpError> {
93
+ println!("Getting file content in HF Hub {file_path} for {repo_type}/{repository}");
94
  let response = self
95
  .http_client
96
  .get(format!(