nemo_relay.intercepts
nemo_relay.intercepts
Generated from python/nemo_relay/intercepts.py.
Module nemo_relay.intercepts.
Global middleware intercept registration for tools and LLMs.
Functions
register_tool_request
Register an intercept that rewrites tool arguments before execution.
deregister_tool_request
Remove a previously registered tool request intercept.
register_tool_execution
Register middleware around tool execution.
deregister_tool_execution
Remove a previously registered tool execution intercept.
register_llm_request
Register an intercept that rewrites an LLMRequest before execution.
deregister_llm_request
Remove a previously registered LLM request intercept.
register_llm_execution
Register middleware around non-streaming LLM execution.
deregister_llm_execution
Remove a previously registered LLM execution intercept.
register_llm_stream_execution
Register middleware around streaming LLM execution.
deregister_llm_stream_execution
Remove a previously registered streaming LLM execution intercept.