From 2daafb8b4cdb3f15acfc510f9d25ebbb7020d5fc Mon Sep 17 00:00:00 2001 From: Dongri Jin Date: Tue, 21 Nov 2023 22:28:56 +0900 Subject: [PATCH] Cargo fmt --- examples/assistant.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/assistant.rs b/examples/assistant.rs index 1eb0f84..ccec960 100644 --- a/examples/assistant.rs +++ b/examples/assistant.rs @@ -14,11 +14,13 @@ fn main() -> Result<(), Box> { tools.insert("type".to_string(), "code_interpreter".to_string()); let req = AssistantRequest::new(GPT4_1106_PREVIEW.to_string()); - let req = req.clone().description("this is a test assistant".to_string()); + let req = req + .clone() + .description("this is a test assistant".to_string()); let req = req.clone().instructions("You are a personal math tutor. When asked a question, write and run Python code to answer the question.".to_string()); let req = req.clone().tools(vec![tools]); println!("{:?}", req); - + let result = client.create_assistant(req)?; println!("{:?}", result.id);