first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+12 -1
View File
@@ -1,7 +1,7 @@
use super::*;
use anyhow::anyhow;
use chrono::{TimeZone, Utc};
use super::*;
#[cfg(feature = "local_fs")]
use crate::ai::artifact_download::default_download_filename;
use crate::server::server_api::ai::{
@@ -151,6 +151,17 @@ fn default_download_filename_falls_back_to_artifact_uid_with_extension() {
);
}
#[test]
#[cfg(feature = "local_fs")]
fn download_success_message_includes_filename_and_directory() {
use std::path::Path;
assert_eq!(
download_success_message("report.csv", Path::new("/Users/me/Downloads")),
"report.csv was downloaded to /Users/me/Downloads."
);
}
#[test]
fn converts_graphql_file_artifact() {
let artifact = Artifact::try_from(galaxy_graphql::ai::AIConversationArtifact::FileArtifact(