diff --git a/examples/helix/anthropic-in-editor-chatting.toml b/examples/helix/anthropic-in-editor-chatting.toml new file mode 100644 index 0000000..e8eaffa --- /dev/null +++ b/examples/helix/anthropic-in-editor-chatting.toml @@ -0,0 +1,35 @@ +################################ +### Configuration for lsp-ai ### +################################ + +[language-server.lsp-ai] +command = "lsp-ai" + +[language-server.lsp-ai.config.memory] +file_store = { } + +[language-server.lsp-ai.config.models.model1] +type = "anthropic" +chat_endpoint = "https://api.anthropic.com/v1/messages" +model = "claude-3-5-sonnet-20240620" +auth_token_env_var_name = "ANTHROPIC_API_KEY" + +[[language-server.lsp-ai.config.chat]] +trigger = "!C" +action_display_name = "Chat" +model = "model1" + +[language-server.lsp-ai.config.chat.parameters] +max_context = 4096 +max_tokens = 1024 +system = "You are a code assistant chatbot. The user will ask you for assistance coding and you will do you best to answer succinctly and accurately" + +################################# +## Configuration for languages ## +################################# + +## Every file type we intend to chat in needs to have lsp-ai enabled + +[[language]] +name = "markdown" +language-servers = ["lsp-ai"] diff --git a/examples/helix/llama-cpp-fim.toml b/examples/helix/llama-cpp-fim-code-completion.toml similarity index 100% rename from examples/helix/llama-cpp-fim.toml rename to examples/helix/llama-cpp-fim-code-completion.toml diff --git a/examples/helix/mistral-fim.toml b/examples/helix/mistral-fim-code-completion.toml similarity index 100% rename from examples/helix/mistral-fim.toml rename to examples/helix/mistral-fim-code-completion.toml diff --git a/examples/helix/openai-chat.toml b/examples/helix/openai-chat-code-completion.toml similarity index 100% rename from examples/helix/openai-chat.toml rename to examples/helix/openai-chat-code-completion.toml