Repository navigation
feat(ai): add Requesty memory provider preset - #544
Closed
Thibaultjaigu wants to merge 3 commits into
Closed
Thibaultjaigu wants to merge 3 commits into
Thibaultjaigu wants to merge 3 commits into
Conversation
Collaborator
|
Thanks for this — the preset matches the Morse/WorldRouter pattern and looks good. I rebased onto current Happy to close this once the replacement is up, or you can pull those commits into this branch if you prefer. |
6 of 7 tasks
Collaborator
|
Replacement draft with rebase + comment cleanup: #550 |
Collaborator
|
Superseded by #550 (maintainer couldn't push to the org fork head). Original work credited there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds a
requestymemory provider preset, registered the same way as the Morse and WorldRouter presets: an entry insrc/ai/memory-provider-presets.tson top of the sharedPresetOpenAIChatProvider, with no new provider class.Requesty is a routing layer in front of first party providers (OpenAI, Anthropic, Google and others), not a reseller.
memoryProvider: "requesty": endpoint defaults tohttps://router.requesty.ai/v1, model defaults toopenai/gpt-4o-mini, andREQUESTY_API_KEYis used whenmemoryApiKeyis omittedmemoryApiUrlathttps://router.eu.requesty.ai/v1opencode-mem.example.jsonc, config template commentsTest plan
PresetOpenAIChatProvider("requesty", ...)executeToolCallagainst the live endpoint withopenai/gpt-4o-mini: the request path was exercised up to router.requesty.ai, but a successful completion is not confirmed yet; I will post the result in this PR before review.bun testfailures (dist entrypoint and bundle tests, semantic recall fallback, package deps) are the same on cleanmainChecklist
mainbun testpasses (or N/A): the 152 tests in the 3 provider config files pass, full suite matchesmainbun run typecheckpassesbun run checkpassesDisclosure: I work at Requesty. Happy to adjust anything to match project conventions.