Skip to content

Add llm completions custom timeout#156

Merged
seanshi-scale merged 2 commits intomasterfrom
seanshi/set-timeout-for-completions
Aug 30, 2023
Merged

Add llm completions custom timeout#156
seanshi-scale merged 2 commits intomasterfrom
seanshi/set-timeout-for-completions

Conversation

@seanshi-scale
Copy link
Contributor

@seanshi-scale seanshi-scale commented Aug 30, 2023

Have to add in a timeout in the launch-python-client to allow us to wait in the server for long enough

launch/client.py Outdated
body=request,
query_params=query_params,
skip_deserialization=True,
timeout=LLM_COMPLETIONS_TIMEOUT,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be a param passed in?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah lemme do that actually

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made timeout optionally configurable

@seanshi-scale seanshi-scale merged commit 679f7d0 into master Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants