diff --git a/Cargo.lock b/Cargo.lock index 7be246b64..4de8e2232 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5920,7 +5920,7 @@ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde" [[package]] name = "shinkai_crypto_identities" -version = "1.1.10" +version = "1.1.11" dependencies = [ "chrono", "dashmap", @@ -5937,7 +5937,7 @@ dependencies = [ [[package]] name = "shinkai_embedding" -version = "1.1.10" +version = "1.1.11" dependencies = [ "async-trait", "bincode", @@ -5958,7 +5958,7 @@ dependencies = [ [[package]] name = "shinkai_fs" -version = "1.1.10" +version = "1.1.11" dependencies = [ "async-trait", "bincode", @@ -5991,7 +5991,7 @@ dependencies = [ [[package]] name = "shinkai_http_api" -version = "1.1.10" +version = "1.1.11" dependencies = [ "anyhow", "async-channel", @@ -6027,7 +6027,7 @@ dependencies = [ [[package]] name = "shinkai_job_queue_manager" -version = "1.1.10" +version = "1.1.11" dependencies = [ "chrono", "serde", @@ -6041,7 +6041,7 @@ dependencies = [ [[package]] name = "shinkai_libp2p_relayer" -version = "1.1.10" +version = "1.1.11" dependencies = [ "chrono", "clap 3.2.25", @@ -6066,7 +6066,7 @@ dependencies = [ [[package]] name = "shinkai_mcp" -version = "1.1.10" +version = "1.1.11" dependencies = [ "async-trait", "futures", @@ -6087,7 +6087,7 @@ dependencies = [ [[package]] name = "shinkai_message_primitives" -version = "1.1.10" +version = "1.1.11" dependencies = [ "aes-gcm", "async-trait", @@ -6115,7 +6115,7 @@ dependencies = [ [[package]] name = "shinkai_node" -version = "1.1.10" +version = "1.1.11" dependencies = [ "aes-gcm", "ai-model-catalog", @@ -6193,7 +6193,7 @@ dependencies = [ [[package]] name = "shinkai_non_rust_code" -version = "1.1.10" +version = "1.1.11" dependencies = [ "log", "serde", @@ -6206,7 +6206,7 @@ dependencies = [ [[package]] name = "shinkai_sqlite" -version = "1.1.10" +version = "1.1.11" dependencies = [ "bincode", "blake3", @@ -6268,7 +6268,7 @@ dependencies = [ [[package]] name = "shinkai_tools_primitives" -version = "1.1.10" +version = "1.1.11" dependencies = [ "base64 0.22.1", "log", diff --git a/Cargo.toml b/Cargo.toml index f7c132de9..01cf082c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ members = [ resolver = "2" [workspace.package] -version = "1.1.10" +version = "1.1.11" edition = "2021" authors = ["Nico Arqueros "] diff --git a/shinkai-bin/shinkai-node/src/tools/tool_prompts.rs b/shinkai-bin/shinkai-node/src/tools/tool_prompts.rs index cec941919..eb5d62bb1 100644 --- a/shinkai-bin/shinkai-node/src/tools/tool_prompts.rs +++ b/shinkai-bin/shinkai-node/src/tools/tool_prompts.rs @@ -80,6 +80,8 @@ pub async fn generate_code_prompt( * Only if required any additional notes, comments or explanation should be included in /* ... */ blocks. * Write a single implementation file, only one typescript code block. * Implements the code in {language} for the following input_command tag. + * Include as well all the inputs and configs details in comments (possible values and defaults) + * Implement as well input validation checks and informative messages in case of error @@ -210,6 +212,8 @@ class OUTPUT: * Write a single implementation file, only one typescript code block. * When building the return OUTPUT, assign fields with dots as `output = OUTPUT()\nouput.key1 = value1` because the OUTPUT class does not have a constructor. * Implements the code in {language} for the following input_command tag + * Include as well all the inputs and configs details in comments (possible values and defaults) + * Implement as well input validation checks and informative messages in case of error