Skip to content

Commit

Permalink
. minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremychone committed Dec 25, 2023
1 parent c538061 commit 9c50943
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The vision for Rust AI-Buddy is to create a simple on-device AI assistant that l

- E01 [GitHub Tag E01](https://github.com/rust10x/rust-ai-buddy/tree/E01) - [Coding a Rust OpenAI Assistant CLI from scratch](https://youtu.be/PHbCmIckV20)

**NOTE:** The `main` branch has been updated with a `* MAJOR - Refactoring multiple crates` commit, which is a significant upgrade.
**NOTE:** The `main` branch has been updated with a `* MAJOR - Refactoring multiple crates` commit and other significant upgrades.

## Cargo Commands

Expand Down
16 changes: 0 additions & 16 deletions crates/ai-buddy/src/ais/asst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,15 +327,6 @@ pub async fn upload_file_by_name(
}

// -- Upload and attach the file.
// let term = Term::stdout();

// Print uploading.
// term.write_line(&format!(
// "{} Uploading file '{}'",
// ico_uploading(),
// file.x_file_name()
// ))?;

ais.event_bus().send(AisEvent::OrgFileUploading {
file_name: file.x_file_name().to_string(),
})?;
Expand All @@ -356,13 +347,6 @@ pub async fn upload_file_by_name(
oa_file.id.clone().into(),
)))?;

// term.clear_last_lines(1)?;
// term.write_line(&format!(
// "{} Uploaded file '{}'",
// ico_uploaded(),
// file.x_file_name()
// ))?;

// Attach file to assistant.
let oa_assts = oac.assistants();
let oa_assts_files = oa_assts.files(asst_id);
Expand Down

0 comments on commit 9c50943

Please sign in to comment.