react_agent.utils.request_logging.LoggingCallbackHandler Objects
LoggingCallbackHandler.__init__
LoggingCallbackHandler.on_llm_start
serialized- The serialized LLM.prompts- The prompts to run.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_chat_model_start
serialized- The serialized LLM.messages- The messages to run.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_llm_end
response- The response from the LLM.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_llm_error
error- The error that occurred.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_chain_start
serialized- The serialized chain.inputs- The inputs to the chain.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_chain_end
outputs- The outputs of the chain.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_chain_error
error- The error that occurred.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_tool_start
serialized- The serialized tool.input_str- The input string.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_agent_action
action- The agent action.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_tool_end
output- The output of the tool.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_tool_error
error- The error that occurred.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_text
text- The text to print.**kwargs- Additional keyword arguments.
LoggingCallbackHandler.on_agent_finish
finish- The agent finish.**kwargs- Additional keyword arguments.
react_agent.utils.request_logging.LLMRequestLogger Objects
LLMRequestLogger.__init__
LLMRequestLogger.log_request
request- The outgoing httpx.Request instance.
LLMRequestLogger.log_response
response- The incoming httpx.Response instance.
react_agent.utils.request_logging.LLMRequestLogger.LogRequest Objects
LogRequest.__init__
react_agent.utils.request_logging.LLMRequestLogger.LogResponse Objects
LogResponse.iter_bytes
bytes- Chunks of the response body.
LogResponse.aiter_bytes
bytes- Chunks of the response body.
react_agent.utils.request_logging.LLMRequestLogger.LogTransport Objects
LogTransport.__init__
transport- The underlying httpx.BaseTransport instance to wrap.
LogTransport.handle_request
request- The outgoing HTTP request.
httpx.Response- The logged HTTP response.
react_agent.utils.request_logging.LLMRequestLogger.AsyncLogTransport Objects
AsyncLogTransport.__init__
transport- The underlying httpx.AsyncBaseTransport instance to wrap.
AsyncLogTransport.handle_async_request
request- The outgoing HTTP request.
httpx.Response- The logged HTTP response.