Skip to content

Commit

Permalink
Clean up error message (tensorzero#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBianconi authored Dec 30, 2024
1 parent 2d32a35 commit 149b37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/inference/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,6 @@ mod tests {

#[tokio::test]
async fn test_create_chat_inference_response() {
// TODO (#30): handle the tool call case here. For now, we will always set those values to None.
// Case 1: No output schema
let inference_id = Uuid::now_v7();
let content = vec!["Hello, world!".to_string().into()];
Expand Down Expand Up @@ -1144,6 +1143,7 @@ mod tests {
assert_eq!(model_inference_result.model_name, "test_model");
assert_eq!(model_inference_result.model_provider_name, "test_provider");
assert_eq!(model_inference_result.raw_request, raw_request);

// Case 2: A tool call that fails argument validation
let inference_id = Uuid::now_v7();
let content = vec![ContentBlock::ToolCall(ToolCall {
Expand Down

0 comments on commit 149b37a

Please sign in to comment.