diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 000000000..e396bd016 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +channel = "1.95" +components = ["rustfmt", "clippy"] +profile = "minimal" diff --git a/src-tauri/src/proxy/providers/transform_responses.rs b/src-tauri/src/proxy/providers/transform_responses.rs index 8a7038b85..64d9a649a 100644 --- a/src-tauri/src/proxy/providers/transform_responses.rs +++ b/src-tauri/src/proxy/providers/transform_responses.rs @@ -203,6 +203,7 @@ pub(crate) fn map_responses_stop_reason( { "max_tokens" } + "incomplete" => "end_turn", _ => "end_turn", }) }