We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bb34cde + 4c13ec1 commit b4fb095Copy full SHA for b4fb095
shai-cli/src/tui/auth/config_env.rs
@@ -77,7 +77,7 @@ impl ModalEnvs {
77
// Set environment variables based on provider's required env vars
78
for (i, env_var) in self.provider.env_vars.iter().enumerate() {
79
if i < self.input_fields.len() {
80
- let value = self.input_fields[i].lines().join("\n");
+ let value = self.input_fields[i].lines().join("\n").trim().to_string();
81
if !value.is_empty() {
82
self.env_values.insert(env_var.name.clone(), value);
83
}
0 commit comments