GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fix(server): add request timeouts to language model and reranker clients by deshmukh-viraj · Pull Request #1931 · MemMachine/MemMachine ConversationWhat does this PR do?OpenAI and Cohere clients were built without a timeout, so the SDK defaults applied: ten minutes per language-model call (with two SDK retries) and up to five minutes per rerank. One slow or hung provider held searches and stalled semantic extraction for every project, as described in the issue with traces showing a reranker endpoint answering after 75 s and a hung language-model call pausing all extraction for about ten minutes. This adds a configurable
Related IssueFixes #1920 Type of Change
Changes Made
How to Test
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsOpenAI and Cohere clients were built without a timeout, so the SDK defaults applied (ten minutes for OpenAI). One slow or hung provider held searches and stalled semantic extraction for every project. Add a request_timeout_seconds field to the OpenAI responses, OpenAI chat completions, and Cohere reranker configs (defaults 120s and 30s) and pass it to the client constructors. This branch has not been deployedNo deployments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. [Bug]: Language-model and reranker calls have no timeout, so one slow call holds searches and stalls semantic extraction for every projectUh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |