TestLlm.Bypass (test_llm v0.1.0)
View SourceStubing LLM responses with Bypass
Summary
Functions
Stubs the expected response.
Options
Basic request options:
:key
- stub reponse file name transformed to slug.:original_base_url
- The base url for the call to the LLM.:bypass
- The bypass connection.:rerun
- should the request be rerun and saved, defaults to:false
.:model
- should the request be rerun and saved, defaults tothe name of the model from the request if available
.
Stubs the expected stream response.
Options
Basic request options:
:key
- stub reponse file name transformed to slug.:original_base_url
- The base url for the call to the LLM.:bypass
- The bypass connection.:rerun
- should the request be rerun and saved, defaults to:false
.:model
- should the request be rerun and saved, defaults tothe name of the model from the request if available
.