Skip to content

Commit

Permalink
- fix: failed to spawn shinkai-node (#452)
Browse files Browse the repository at this point in the history
* - fix: failed to spawn when retry spawn method

* - cicd: version bump
  • Loading branch information
agallardol authored Sep 23, 2024
1 parent 627169e commit 418e892
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl ShinkaiNodeProcessHandler {
}

pub async fn spawn(&self) -> Result<(), String> {
let _ = self.kill_existing_processes_using_ports().await;
let _ = self.kill().await;

let env = options_to_env(&self.options.clone());
self.process_handler.spawn(env, [].to_vec(), None).await?;
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shinkai/source",
"version": "0.8.6",
"version": "0.8.7",
"license": "SEE LICENSE IN LICENSE",
"files": [
"LICENSE"
Expand Down

0 comments on commit 418e892

Please sign in to comment.