(*, api_format: str, endpoint_name: str)
| 2130 | |
| 2131 | |
| 2132 | def _requested_transport_name(*, api_format: str, endpoint_name: str) -> str: |
| 2133 | if str(api_format or "").strip().lower() == "anthropic" or str(endpoint_name or "").strip().lower() == "messages": |
| 2134 | return "anthropic-messages" |
| 2135 | if str(endpoint_name or "").strip().lower() == "responses": |
| 2136 | return "openai-responses" |
| 2137 | return "openai-chat" |
| 2138 | |
| 2139 | |
| 2140 | def _supports_native_anthropic_transport( |
no outgoing calls
no test coverage detected