issues
search
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
fix: Add condition to check table type args
#34
Closed
swoh816
closed
5 months ago
swoh816
commented
6 months ago
Fix code:
If a template argument in "args" is table type, parse it to get the default value of the argument:
value["default"]
.
Refactoring:
Remove unused function parameter "templates" for the function
render_template
Change the variable name "result" to "template"
Fix code:
value["default"]
.Refactoring:
render_template