Conversation
…roviders table) Docs-only adapter connecting Robitx/gp.nvim to the memory proxy through its native providers table: endpoint is the full chat completions URL (/codebuddy/<spaceId>/v1/chat/completions, same shape as the built-in ollama entry) and secret resolves the sk-mem-... business user key via os.getenv. EN/CN README with setup, configuration reference, and troubleshooting, following the avante.nvim / codecompanion.nvim format. Signed-off-by: LeonSGP43 <cine.dreamer.one@gmail.com>
Collaborator
|
Thank you so much for your attention and contribution! We will arrange an internal review for this PR shortly, and all feedback will be shared right here in the discussion. |
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 docs-only adapter for gp.nvim (Robitx/gp.nvim, the GPT plugin for Neovim with chat/command/inplace workflows), connecting it to the TencentDB Agent Memory proxy through its native OpenAI-compatible
providerstable.adapters/gp-nvim/README.md+README_CN.md(EN/CN, same structure as the avante.nvim / codecompanion.nvim docs-only adapters)endpoint,secret) and the agent link (provider = ...) live in the user's own Neovim config, so no files ship with the adapter.How it connects (verified against official sources)
providerstable (official README, Multiple providers section); the built-inollamaentry (endpoint = "http://localhost:11434/v1/chat/completions", nosecret) is the canonical local-endpoint example.endpointis the full chat completions URL — the adapter points it at the proxy's canonical routehttp://127.0.0.1:8096/codebuddy/<spaceId>/v1/chat/completions.secretsupportsos.getenv(...)for API keys (same capability as the legacyopenai_api_keyfield per the README), so thesk-mem-...business user key is sent asAuthorization: Bearerwithout landing in dotfiles.Contents
sk-mem-...user key)PROXY_UPSTREAM_MODEL→ verify via:GpChatNewand the session pickerPart of the platform-adapt batch tracked in #926.