Log in
Log into community
Welcome to Portkey Forum
New post
View all posts
Related posts
Was this helpful?
😞
😐
😃
Powered by
Hall
Active
Updated 2 weeks ago
0
Follow
Mock Fallback
Mock Fallback
Active
0
Follow
A
Arya
2 weeks ago
·
any idea how i can mock fallback ? (without messing around by providing wrong api key)
v
A
2 comments
Share
Open in Discord
v
visarg
edited 2 weeks ago
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
A
Arya
2 weeks ago
got it thanks
Add a reply
Sign up and join the conversation on Discord
Join on Discord