gateway_error_handler#
- langchain_ibm.utils.gateway_error_handler(
- func: Callable,
Decorator to catch ApiRequestFailure on Model Gateway calls.
Logs a uniform warning when the model is not properly registered.
- Parameters:
func (Callable)
- Return type:
Callable