Skip to content

Commit

Permalink
fix (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicarq authored Aug 5, 2024
1 parent fc03c44 commit ca86d8b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions shinkai-bin/shinkai-node/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ pub async fn initialize_node() -> Result<
.cloned()
.unwrap_or_else(|| env::var("GLOBAL_IDENTITY_NAME").unwrap_or("@@localhost.arb-sep-shinkai".to_string()));

let global_identity_name = if global_identity_name.is_empty() {
"@@localhost.arb-sep-shinkai".to_string()
} else {
global_identity_name
};

// Initialization, creating Tokio runtime and fetching needed startup data
let initial_llm_providers = fetch_llm_provider_env(global_identity_name.clone());
let identity_secret_key_string =
Expand Down

0 comments on commit ca86d8b

Please sign in to comment.