Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ solana-validator-*.log
sonic-*.log
eclipse-*.log
osvm-*.log
audit_reports/
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "osvm"
version = "0.8.0"
version = "0.8.1"
edition = "2021"
license = "MIT"
description = "OpenSVM CLI tool for managing SVM nodes and deployments"
Expand Down
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ async fn handle_ai_query(
let mut query_parts = vec![sub_command.to_string()];

// Get additional arguments from clap's external subcommand handling
if let Some(external_args) = sub_matches.get_many::<String>("") {
query_parts.extend(external_args.cloned());
// External subcommands store arguments as OsString, not String
if let Some(external_args) = sub_matches.get_many::<std::ffi::OsString>("") {
query_parts.extend(external_args.map(|os_str| os_str.to_string_lossy().to_string()));
}

// If clap doesn't provide args (fallback), parse from environment
Expand Down
Loading