Repository navigation
Conversation
Registers an impact-relay preset on the shared PresetOpenAIChatProvider: endpoint https://api.impact-relay.com/v1, default model deepseek-v4.1-flash-free, IMPACT_RELAY_API_KEY env fallback. Docs, example config, config template and tests follow the Requesty preset. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
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 an
impact-relaymemory provider preset, registered the same way as the Requesty, Morse and WorldRouter presets: an entry insrc/ai/memory-provider-presets.tson top of the sharedPresetOpenAIChatProvider, with no new provider class.Impact Relay is an OpenAI-compatible gateway that serves GPT, Claude, Gemini, Grok and other models behind one key. Disclosure: I'm with the Impact Relay team.
memoryProvider: "impact-relay": endpoint defaults tohttps://api.impact-relay.com/v1, model defaults todeepseek-v4.1-flash-free(a zero-priced model on the gateway), andIMPACT_RELAY_API_KEYis used whenmemoryApiKeyis omittedGET https://api.impact-relay.com/v1/modelsopencode-mem.example.jsonc, config template comments. The docs name the destination for conversation data (https://api.impact-relay.com)Test plan
bun test tests/ai/ai-provider-config.test.ts tests/shared/config-resolution.test.ts: 96 pass, 0 failbun run check(format + lint + typecheck) passedtool_choice: "required"tohttps://api.impact-relay.com/v1/chat/completionswithdeepseek-v4.1-flash-freeusing curl: it returned atool_callsresponse. This was a direct HTTP call, not a run through the plugin.bun testsuite andbun run buildwere not run; only the two touched test files.Checklist
main(do not open PRs from commits already onmain)bun testpasses (or N/A): only the two touched test files were run, they passbun run typecheckpasses (or N/A)bun run checkpasses (format + lint + typecheck; or N/A)🤖 Generated with Claude Code