Modifying the doc files

This commit is contained in:
2026-03-18 22:02:10 -04:00
parent 9f229b26c9
commit f110a3ed25
2 changed files with 4 additions and 43 deletions

View File

@@ -40,9 +40,6 @@ Key features:
- Neovim >= 0.8.0
- curl (for API calls)
- One of:
- Claude API key (ANTHROPIC_API_KEY)
- OpenAI API key (OPENAI_API_KEY)
- Gemini API key (GEMINI_API_KEY)
- GitHub Copilot (via copilot.lua or copilot.vim)
- Ollama running locally
@@ -56,7 +53,7 @@ Using lazy.nvim: >lua
config = function()
require("codetyper").setup({
llm = {
provider = "claude", -- or "openai", "gemini", "copilot", "ollama"
provider = "copilot", -- or "ollama"
},
})
end,
@@ -83,15 +80,6 @@ Default configuration: >lua
api_key = nil, -- Uses ANTHROPIC_API_KEY env var if nil
model = "claude-sonnet-4-20250514",
},
openai = {
api_key = nil, -- Uses OPENAI_API_KEY env var if nil
model = "gpt-4o",
endpoint = nil, -- Custom endpoint (Azure, OpenRouter, etc.)
},
gemini = {
api_key = nil, -- Uses GEMINI_API_KEY env var if nil
model = "gemini-2.0-flash",
},
copilot = {
model = "gpt-4o", -- Uses OAuth from copilot.lua/copilot.vim
},
@@ -113,36 +101,6 @@ Default configuration: >lua
==============================================================================
5. LLM PROVIDERS *codetyper-providers*
*codetyper-claude*
Claude~
Best for complex reasoning and code generation.
>lua
llm = {
provider = "claude",
claude = { model = "claude-sonnet-4-20250514" },
}
<
*codetyper-openai*
OpenAI~
Supports custom endpoints for Azure, OpenRouter, etc.
>lua
llm = {
provider = "openai",
openai = {
model = "gpt-4o",
endpoint = nil, -- optional custom endpoint
},
}
<
*codetyper-gemini*
Google Gemini~
Fast and capable.
>lua
llm = {
provider = "gemini",
gemini = { model = "gemini-2.0-flash" },
}
<
*codetyper-copilot*
GitHub Copilot~
Uses your existing Copilot subscription.
@@ -354,3 +312,5 @@ codetyper.is_initialized()
==============================================================================
vim:tw=78:ts=8:ft=help:norl:

View File

@@ -39,3 +39,4 @@ codetyper.get_config() codetyper.txt /*codetyper.get_config()*
codetyper.is_initialized() codetyper.txt /*codetyper.is_initialized()*
codetyper.setup() codetyper.txt /*codetyper.setup()*
codetyper.txt codetyper.txt /*codetyper.txt*
codetyper-auto-process codetyper.txt /*codetyper-auto-process*