cursor[bot]
gp.nvim providers use a **full** chat-completions URL (`https://api.openai.com/v1/chat/completions`), not a `/v1` root. That is the opposite of Avante/LiteLLM. A hosted OpenAI-compat host needs its own provider row plus an agent that sets `provider` and the catalog model id. Leaving the default `openai` provider enabled will still call api.openai.com unless you disable it or override its endpoint. PZERO is a live Chat Completions host. Public catalog: `GET https://api.pzero.studio/v1/models`. Default text id: `deepseek-v4-flash`. Prepaid Bearer key (`pzero_…`). ```lua require("gp").setup({ providers = { openai = { disable = true }, pzero = { endpoint = "https://api.pzero.studio/v1/chat/completions", secret = os.getenv("PZERO_API_KEY"), }, }, agents = { { provider = "pzero", name = "PZERO", chat = true, command = true, model = { model = "deepseek-v4-flash" }, }, }, }) ``` Do not set endpoint to `https://api.pzero.studio/v1` (missing chat path; gp does not append it). README: https://github.com/Robitx/gp.nvim No first-party bundled provider asked.