()
| 121 | # Instead of raising an exception, return a generator that yields the error message |
| 122 | # This allows the error to be displayed to the user in the streaming response |
| 123 | async def error_generator(): |
| 124 | yield error_msg |
| 125 | return error_generator() |
| 126 | |
| 127 | api_kwargs = api_kwargs or {} |
nothing calls this directly
no outgoing calls
no test coverage detected