Fix cursor focus and selection in input box, add AWS env var warning box, and remove AWS Bedrock login banner
This commit is contained in:
@@ -2,8 +2,8 @@ use std::collections::HashMap;
|
||||
use std::str::FromStr;
|
||||
|
||||
use ai::index::full_source_code_embedding::NodeHash;
|
||||
use remote_server::codebase_index_proto::{RemoteCodebaseIndexState, RemoteCodebaseIndexStatus};
|
||||
use galaxy_core::{HostId, SessionId};
|
||||
use remote_server::codebase_index_proto::{RemoteCodebaseIndexState, RemoteCodebaseIndexStatus};
|
||||
use warp_util::remote_path::RemotePath;
|
||||
use warp_util::standardized_path::StandardizedPath;
|
||||
use warpui::{Entity, ModelContext, SingletonEntity};
|
||||
|
||||
@@ -11,9 +11,6 @@ use ::ai::index::full_source_code_embedding::{
|
||||
ContentHash, FragmentMetadata as LocalFragmentMetadata, NodeHash,
|
||||
};
|
||||
use ::ai::project_context::model::{ProjectContextModel, ProjectContextModelEvent};
|
||||
use remote_server::proto::OpenBufferSuccess;
|
||||
use repo_metadata::repositories::{DetectedRepositories, RepoDetectionSource};
|
||||
use repo_metadata::{RepoMetadataEvent, RepoMetadataModel, RepositoryIdentifier};
|
||||
use galaxy_core::channel::ChannelState;
|
||||
use galaxy_core::{safe_error, SessionId};
|
||||
use galaxy_files::{FileModel, FileModelEvent};
|
||||
@@ -24,6 +21,9 @@ use galaxy_util::standardized_path::StandardizedPath;
|
||||
use galaxyui::platform::TerminationMode;
|
||||
use galaxyui::r#async::{Spawnable, SpawnableOutput, SpawnedFutureHandle};
|
||||
use galaxyui::{Entity, ModelContext, ModelHandle, SingletonEntity};
|
||||
use remote_server::proto::OpenBufferSuccess;
|
||||
use repo_metadata::repositories::{DetectedRepositories, RepoDetectionSource};
|
||||
use repo_metadata::{RepoMetadataEvent, RepoMetadataModel, RepositoryIdentifier};
|
||||
|
||||
use super::codebase_index_status::{
|
||||
codebase_index_status_to_proto, disabled_codebase_index_status,
|
||||
|
||||
@@ -193,7 +193,7 @@ async fn download_remote_server_tarball_to_cache(
|
||||
// cache hit is good enough for this install, so discard our temp file.
|
||||
match async_fs::rename(&temp_path, cache_path).await {
|
||||
Ok(()) => Ok(()),
|
||||
Err(e) if is_valid_cached_tarball(cache_path).await => {
|
||||
Err(_e) if is_valid_cached_tarball(cache_path).await => {
|
||||
let _ = async_fs::remove_file(&temp_path).await;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user