(reason: FinishReason)
| 671 | } |
| 672 | |
| 673 | fn finish_reason_to_string(reason: FinishReason) -> String { |
| 674 | match reason { |
| 675 | FinishReason::Stop => "stop".to_string(), |
| 676 | FinishReason::Length => "length".to_string(), |
| 677 | FinishReason::ContentFilter => "content_filter".to_string(), |
| 678 | FinishReason::ToolCalls => "tool-calls".to_string(), |
| 679 | FinishReason::Error => "error".to_string(), |
| 680 | FinishReason::Unknown => "unknown".to_string(), |
| 681 | } |
| 682 | } |
| 683 | |
| 684 | fn responses_chat_response( |
| 685 | request: &ChatRequest, |
nothing calls this directly
no outgoing calls
no test coverage detected