From bfa09be20c450ffe31950c2f1e6d86c095518d39 Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@proton.me> Date: Sat, 17 Jun 2023 16:36:28 +0200 Subject: [PATCH] feat: add option --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 9ac90e4..0ad745a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,7 +25,7 @@ pub struct Detail { pub struct Choice { pub delta: DeltaChoice, pub index: i64, - pub finish_reason: String, + pub finish_reason: Option, } #[derive(Serialize, Deserialize, Debug)]