huynle / ogpt.nvim

Chat with Ollama/Huggingface/TextGen/OpenAI/Gemini/Anthropic GPT Neovim Plugin: Effortless Natural Language Generation with LLM API
Apache License 2.0
166 stars 14 forks source link

Remove nested brackets in `models` parameter #29

Closed swoh816 closed 6 months ago

swoh816 commented 6 months ago

The parameter models for ollama in lua/ogpt/config.lua has nested brackets {{param1, param2, ...}} for its parameters. This may mislead users to use nested brackets to configure Ollama's models parameter ( as instructed in # Configuration in README.md), which makes OGPT unable to find LLM models when trying to change models via the parameter panels.