From 1efd4459317491af0928d6aab8704d4feee5f595 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Tue, 11 Jun 2024 21:02:21 +0800 Subject: [PATCH] update --- .../tabby_scheduler__code__index__tests__code_splitter.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tabby-scheduler/src/code/snapshots/tabby_scheduler__code__index__tests__code_splitter.snap b/crates/tabby-scheduler/src/code/snapshots/tabby_scheduler__code__index__tests__code_splitter.snap index f009da708015..d060e07a819f 100644 --- a/crates/tabby-scheduler/src/code/snapshots/tabby_scheduler__code__index__tests__code_splitter.snap +++ b/crates/tabby-scheduler/src/code/snapshots/tabby_scheduler__code__index__tests__code_splitter.snap @@ -30,5 +30,5 @@ expression: "format!(\"{:#?}\", rust_chunks)" "{\n Ok(x) => x,\n Err(e) => {\n warn!(\"Failed to create completion request {:?}\", e);\n return;\n }\n };\n\n for await x in s", "{\n match x", "{\n Ok(x) => {\n yield x.choices[0].delta.content.clone().unwrap_or_default();\n },\n Err(e) =>", - "{\n warn!(\"Failed to stream response: {}\", e);\n break;\n }\n };\n }\n };\n\n Ok(Box::pin(s))\n }\n}", + "{\n // Stream finished.\n debug!(\"openai-chat stream finished: {:?}\", e);\n break;\n }\n };\n }\n };\n\n Ok(Box::pin(s))\n }\n}", ]