From ea546e2e7a8a35d294f654be7c35440ea4639c74 Mon Sep 17 00:00:00 2001 From: SurKaa <98200894+surkaa@users.noreply.github.com> Date: Fri, 3 Apr 2026 14:54:26 +0800 Subject: [PATCH] fix: add the missing fields --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7bc325b..f269bff 100644 --- a/README.md +++ b/README.md @@ -27,12 +27,16 @@ let messages = vec![ content: Some("You are a helpful assistant.".to_string()), name: None, function_call: None, + tool_call_id: None, + tool_calls: None }, ChatCompletionMessage { role: ChatCompletionMessageRole::User, content: Some("Tell me a random crab fact".to_string()), name: None, function_call: None, + tool_call_id: None, + tool_calls: None }, ]; let chat_completion = ChatCompletion::builder("gpt-4o", messages.clone())