async_gateway_error_handler#
- langchain_ibm.utils.async_gateway_error_handler(
- func: Callable,
Async decorator to catch ApiRequestFailure on Model Gateway calls.
Log a uniform warning when the Model Gateway is misused.
- Parameters:
func (Callable)
- Return type:
Callable