GeezerVison is showing github.com — feat(ai): add onomeo memory provider preset by Owaid0723666 · Pull Request #526 · tickernelz/opencode-mem
Conversation
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 default https://onomeo.com/v1, model default deepseek-v4.1-flash, ONOMEO_API_KEY fallback, explicit env:// key configuration, and a distinct onomeo session tag.
- Registered in
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.
- Tests mirror the AIGROW ones: authentication, request serialization (
tool_choice: "required"), tool response extraction, overrides, environment-key resolution, and rejection of remote-provider changes from project configuration.
- No defaults change for existing users. Users opt in with their own key (https://onomeo.com/dashboard, prepaid credit; docs at https://onomeo.com/integrations). The docs name the destination for conversation data (
https://onomeo.com). Model list: GET https://onomeo.com/v1/models with the key.
Test plan
- Exercised the change locally: ran
OnomeoProvider.executeToolCall against the live API with a config built by buildMemoryProviderConfig({ memoryProvider: "onomeo", memoryApiKey, memoryTemperature: 0.3 }) and a forced save_memories tool. The default model deepseek-v4.1-flash returned success: true with the tool arguments parsed ({"memories":["This repo uses pnpm as its package manager — never use npm.","Tests run with vitest."]}); claude-haiku-5.5 as memoryModel did the same.
- Forced tool calls with the default
memoryTemperature: 0.3 work on the default model, so no forceToolChoice: false is needed for it.
Checklist
- Branch is based on
main
-
bun test passes: the four touched/new test files pass (88 pass, 0 fail). The full suite without bun run build gives 1276 pass, 7 skip, 15 fail; 14 of them are the plugin-loader, bundle-boundary, root-entrypoint and onnxruntime-shim tests, which need dist/, the install scripts or symlink permission, and those files fail the same way on main in this checkout (13 pass, 14 fail on both); the 15th is imports more than 500 memories in one atomic transaction, which hit the 5000 ms timeout during the full run on this machine.
-
bun run typecheck passes
-
bun run check passes: prettier --check clean, eslint --max-warnings=0 clean, tsc --noEmit clean
- Docs / README updated when behavior or contribution process changes
onomeo is in public beta: not every feature is guaranteed to work, and feedback is being collected.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
新增 onomeo 记忆服务商预设:默认端点与模型、ONOMEO_API_KEY 读取、多语言说明和测试。
This branch has not been deployed
No deployments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh 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.
|