Skip to content

Commit

Permalink
Correct tracing::debug message. (#275)
Browse files Browse the repository at this point in the history
OpenAI -> DeepSeek
  • Loading branch information
M4n5ter authored Feb 6, 2025
1 parent e86d1b4 commit 0ef7bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rig-core/src/providers/deepseek.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ impl CompletionModel for DeepSeekCompletionModel {

if response.status().is_success() {
let t = response.text().await?;
tracing::debug!(target: "rig", "OpenAI completion error: {}", t);
tracing::debug!(target: "rig", "DeepSeek completion error: {}", t);

match serde_json::from_str::<ApiResponse<CompletionResponse>>(&t)? {
ApiResponse::Ok(response) => response.try_into(),
Expand Down

0 comments on commit 0ef7bfd

Please sign in to comment.