Skip to content

Commit 936e72c

Browse files
committed
fix error
1 parent f0d8308 commit 936e72c

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

rust/clients/memory.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ fn encode_search_args(embedding: Vec<f32>) -> Result<Vec<u8>> {
9696
fn encode_add_user_args(principal: Principal, role: u8) -> Result<Vec<u8>> {
9797
Ok(candid::encode_args((principal, role))?)
9898
}
99-
fn encode_update_instance_args(instance_pid_str: String) -> Result<Vec<u8>> {
100-
Ok(candid::encode_one(instance_pid_str)?)
101-
}
10299
fn encode_tagged_embeddings_args(tag: String) -> Result<Vec<u8>> {
103100
Ok(candid::encode_one(tag)?)
104101
}

rust/commands/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ pub mod search_raw;
1717
pub mod tagged_embeddings;
1818
pub mod update;
1919
pub mod reset;
20-
pub mod balance;
21-
pub mod ask_ai;
2220

2321
#[derive(Clone)]
2422
pub struct CommandContext {

0 commit comments

Comments
 (0)