Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task]: Test/document setting up CodeGate with Avante.nvim by changing the base url #901

Closed
kantord opened this issue Feb 4, 2025 · 2 comments · Fixed by stacklok/codegate-docs#86

Comments

@kantord
Copy link
Member

kantord commented Feb 4, 2025

Description

all is explained in the title, see the parent task for more context

Additional Context

No response

@kantord
Copy link
Member Author

kantord commented Feb 5, 2025

I tried with Avante using the following configuration:

  {
    "yetone/avante.nvim",
    event = "VeryLazy",
    lazy = false,
    version = false, -- set this if you want to always pull the latest change
    opts = {
      -- add any opts here
      provider = "openai",
      openai = {
        endpoint = "http://localhost:8989/openai",
        model = "gpt-4o", -- your desired model (or use gpt-4o, etc.)
        timeout = 30000, -- timeout in milliseconds
        temperature = 0, -- adjust if needed
        max_tokens = 4096,
      },
    },

The messages correctly go to CodeGate, and get displayed in the dashboard, however are not displayed by Avante itself. I will spend some time figuring out why

@kantord
Copy link
Member Author

kantord commented Feb 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants