Repository navigation
feat(ai): add onomeo memory provider preset - #526
Merged
Merged
Conversation
新增 onomeo 记忆服务商预设:默认端点与模型、ONOMEO_API_KEY 读取、多语言说明和测试。
EyJunge1
force-pushed
the
feat/onomeo-provider
branch
from
November 29, 2026 16:54
319d6d6 to
fe71633
Compare
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 optional onomeo memory provider preset on the existing OpenAI Chat Completions transport, following the merged AIGROW preset in #516 (and UberLLM in #505). onomeo serves DeepSeek, Claude, GPT and other models through one OpenAI-compatible API on prepaid credit; model ids are bare (
deepseek-v4.1-flash,claude-haiku-5.5,gpt-6.2-sol, ...). Disclosure: submitted by onomeo.memoryProvider: "onomeo": endpoint defaulthttps://onomeo.com/v1, model defaultdeepseek-v4.1-flash,ONOMEO_API_KEYfallback, explicitenv://key configuration, and a distinctonomeosession tag.memory-provider-presets.ts, so key-only configs resolve model and endpoint and readiness works the same as the other presets. Factory, types, config template, example config and all README languages updated.tool_choice: "required"), tool response extraction, overrides, environment-key resolution, and rejection of remote-provider changes from project configuration.https://onomeo.com). Model list:GET https://onomeo.com/v1/modelswith the key.Test plan
OnomeoProvider.executeToolCallagainst the live API with a config built bybuildMemoryProviderConfig({ memoryProvider: "onomeo", memoryApiKey, memoryTemperature: 0.3 })and a forcedsave_memoriestool. The default modeldeepseek-v4.1-flashreturnedsuccess: truewith the tool arguments parsed ({"memories":["This repo uses pnpm as its package manager — never use npm.","Tests run with vitest."]});claude-haiku-5.5asmemoryModeldid the same.memoryTemperature: 0.3work on the default model, so noforceToolChoice: falseis needed for it.Checklist
mainbun testpasses: the four touched/new test files pass (88 pass, 0 fail). The full suite withoutbun run buildgives 1276 pass, 7 skip, 15 fail; 14 of them are the plugin-loader, bundle-boundary, root-entrypoint and onnxruntime-shim tests, which needdist/, the install scripts or symlink permission, and those files fail the same way onmainin this checkout (13 pass, 14 fail on both); the 15th isimports more than 500 memories in one atomic transaction, which hit the 5000 ms timeout during the full run on this machine.bun run typecheckpassesbun run checkpasses:prettier --checkclean,eslint --max-warnings=0clean,tsc --noEmitcleanonomeo is in public beta: not every feature is guaranteed to work, and feedback is being collected.