We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d00547 commit 04e83cdCopy full SHA for 04e83cd
src/client/chat_completions/chat_completions.rs
@@ -82,7 +82,18 @@ mod tests {
82
assert!(!response.choices.is_empty());
83
assert!(!response.id.is_empty());
84
}
85
-
+ #[tokio::test]
86
+ #[ignore]
87
+ async fn test_chat_completions_reasoning() {
88
+ dotenvy::dotenv().ok();
89
+ let client = DeepSeekClient::default().unwrap();
90
+ let request =
91
+ RequestBody::new_messages(vec![Message::new_user_message("Hello".to_string())])
92
+ .with_model(Model::DeepSeekReasoner);
93
+ let response = client.chat_completions(request).await.unwrap();
94
+ assert!(!response.choices.is_empty());
95
+ assert!(!response.id.is_empty());
96
+ }
97
#[tokio::test]
98
#[ignore]
99
async fn test_chat_completions_with_system_message() {
0 commit comments