Welcome to Portkey Forum

Updated 2 weeks ago

Mock Fallback

any idea how i can mock fallback ? (without messing around by providing wrong api key)
v
A
2 comments
Hey, you can try adding a very low request_timeout value in the first target. That would help you in mocking the fallback behaviour. Here are the docs: https://portkey.ai/docs/product/ai-gateway/request-timeouts#setting-request-timeout-at-target-level
got it thanks
Add a reply
Sign up and join the conversation on Discord