Expand description
Shared test helpers for the core crate and downstream middleware crates.
Functionsยง
- test_
channel_ config - Creates a test
ChannelConfigpointing to a local upstream. - test_
channel_ config_ openai - Creates a test
ChannelConfigforOpenAIChat. - test_
connection_ context - Creates a minimal test
ConnectionContext. - test_
connection_ context_ with_ role - Creates a test
ConnectionContextwith a specific role. - test_
proxy_ request - Creates a minimal test
ProxyRequestfor/v1/messages. - test_
proxy_ request_ streaming - Creates a streaming test
ProxyRequest. - test_
proxy_ request_ with_ body - Creates a test
ProxyRequestwith a custom body.