File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
apps/shinkai-desktop/src-tauri/src/local_shinkai_node Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ pub struct ShinkaiNodeOptions {
29
29
pub shinkai_tools_runner_deno_binary_path : Option < String > ,
30
30
pub shinkai_tools_runner_uv_binary_path : Option < String > ,
31
31
pub pdfium_dynamic_lib_path : Option < String > ,
32
+ pub shinkai_store_url : Option < String > ,
32
33
}
33
34
34
35
impl ShinkaiNodeOptions {
@@ -215,6 +216,12 @@ impl ShinkaiNodeOptions {
215
216
Some ( ref path) if !path. is_empty ( ) => path. clone ( ) ,
216
217
_ => base_options. pdfium_dynamic_lib_path . unwrap_or_default ( ) ,
217
218
} ) ,
219
+ shinkai_store_url : Some (
220
+ options
221
+ . shinkai_store_url
222
+ . or ( base_options. shinkai_store_url )
223
+ . unwrap_or_default ( ) ,
224
+ ) ,
218
225
}
219
226
}
220
227
}
@@ -275,6 +282,7 @@ impl Default for ShinkaiNodeOptions {
275
282
shinkai_tools_runner_deno_binary_path : Some ( shinkai_tools_runner_deno_binary_path) ,
276
283
shinkai_tools_runner_uv_binary_path : Some ( shinkai_tools_runner_uv_binary_path) ,
277
284
pdfium_dynamic_lib_path : None ,
285
+ shinkai_store_url : Some ( "https://store-api.shinkai.com" . to_string ( ) ) ,
278
286
}
279
287
}
280
288
}
You can’t perform that action at this time.
0 commit comments