Skip to content

Commit e2398f3

Browse files
committed
Merge branch 'main' of github.com:OpenAgentPlatform/Dive
2 parents 0545190 + 1c6e516 commit e2398f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-tauri/src/host.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl HostProcess {
5959
.arg("-I")
6060
.arg("-c")
6161
.arg(format!(
62-
"import sys; sys.path.extend(['{}', '{}']); from dive_mcp_host.httpd._main import main; main()",
62+
"import site; site.addsitedir('{}'); site.addsitedir('{}'); from dive_mcp_host.httpd._main import main; main()",
6363
dunce::simplified(&self.host_dir).to_string_lossy().replace('\\', "\\\\"),
6464
dunce::simplified(&deps_dir).to_string_lossy().replace('\\', "\\\\")
6565
));

0 commit comments

Comments
 (0)