-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Network Latency Simulation #3
Comments
This should be rather be enforced at runtime instead of a configuration parameter at setup using a header such as |
@rastogiji I like that, but also it can be valuable to use a mock that doesn't depend on changes in the client to utilize it's features. How do you feel about reading the header if it is present, but drawing from an env var if the header is not present? (with a final default of zero of course, if the env var is also not present) |
@ctrahey This makes a lot of sense. Let me add that. |
Overview
The purpose of this issue is to implement network latency simulation in the MockAI server to enhance testing capabilities by mimicking real-world network conditions.
Goals
Tasks
chat.js
,embeddings.js
,image.js
, andtext.js
files to process the newminMsDelay
andmaxMsDelay
parameters.Expected Impact
This feature will allow developers to better understand how their applications behave under various network conditions, leading to more robust and resilient systems.
The text was updated successfully, but these errors were encountered: