diff --git a/.all-contributorsrc b/.all-contributorsrc
index 78d5ba16..a4cd5633 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -396,6 +396,13 @@
"avatar_url": "https://avatars.githubusercontent.com/u/77256586?v=4",
"profile": "https://m4dd0c.netlify.app",
"contributions": ["code"]
+ },
+ {
+ "login": "azdanov",
+ "name": "Anton Ždanov",
+ "avatar_url": "https://avatars.githubusercontent.com/u/6123841?v=4",
+ "profile": "https://www.azdanov.dev",
+ "contributions": ["doc", "code"]
}
],
"contributorsPerLine": 7,
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fd6dc252..797eb8d3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [3.12.0](https://github.com/CopilotC-Nvim/CopilotChat.nvim/compare/v3.11.1...v3.12.0) (2025-05-09)
+
+
+### Features
+
+* switch to new default model gpt-4.1 ([5f105cf](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/5f105cf2453585487d3c9ccfe7fd129d3344056c))
+
## [3.11.1](https://github.com/CopilotC-Nvim/CopilotChat.nvim/compare/v3.11.0...v3.11.1) (2025-04-21)
diff --git a/README.md b/README.md
index 55d60a7f..d66bbb02 100644
--- a/README.md
+++ b/README.md
@@ -453,7 +453,7 @@ Below are all available configuration options with their default values:
system_prompt = 'COPILOT_INSTRUCTIONS', -- System prompt to use (can be specified manually in prompt via /).
- model = 'gpt-4o-2024-11-20', -- Default model to use, see ':CopilotChatModels' for available models (can be specified manually in prompt via $).
+ model = 'gpt-4.1', -- Default model to use, see ':CopilotChatModels' for available models (can be specified manually in prompt via $).
agent = 'copilot', -- Default agent to use, see ':CopilotChatAgents' for available agents (can be specified manually in prompt via @).
context = nil, -- Default context or array of contexts to use (can be specified manually in prompt via #).
sticky = nil, -- Default sticky prompt or array of sticky prompts to use at start of every new chat.
@@ -761,7 +761,7 @@ require("CopilotChat").load("my_debugging_session")
-- Use custom context and model
require("CopilotChat").ask("How can I optimize this?", {
- model = "gpt-4o",
+ model = "gpt-4.1",
context = {"buffer", "git:staged"}
})
```
@@ -885,6 +885,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
 Yufan You 📖 💻 |
 Manish Kumar 💻 |
+
+  Anton Ždanov 📖 💻 |
+
diff --git a/doc/CopilotChat.txt b/doc/CopilotChat.txt
index 48d9bfd7..65910dc0 100644
--- a/doc/CopilotChat.txt
+++ b/doc/CopilotChat.txt
@@ -1,4 +1,4 @@
-*CopilotChat.txt* For NVIM v0.8.0 Last change: 2025 April 21
+*CopilotChat.txt* For NVIM v0.8.0 Last change: 2025 May 09
==============================================================================
Table of Contents *CopilotChat-table-of-contents*
@@ -512,7 +512,7 @@ Below are all available configuration options with their default values:
system_prompt = 'COPILOT_INSTRUCTIONS', -- System prompt to use (can be specified manually in prompt via /).
- model = 'gpt-4o-2024-11-20', -- Default model to use, see ':CopilotChatModels' for available models (can be specified manually in prompt via $).
+ model = 'gpt-4.1', -- Default model to use, see ':CopilotChatModels' for available models (can be specified manually in prompt via $).
agent = 'copilot', -- Default agent to use, see ':CopilotChatAgents' for available agents (can be specified manually in prompt via @).
context = nil, -- Default context or array of contexts to use (can be specified manually in prompt via #).
sticky = nil, -- Default sticky prompt or array of sticky prompts to use at start of every new chat.
@@ -827,7 +827,7 @@ EXAMPLE USAGE *CopilotChat-example-usage*
-- Use custom context and model
require("CopilotChat").ask("How can I optimize this?", {
- model = "gpt-4o",
+ model = "gpt-4.1",
context = {"buffer", "git:staged"}
})
<
diff --git a/lua/CopilotChat/config.lua b/lua/CopilotChat/config.lua
index dc1af205..30c428e5 100644
--- a/lua/CopilotChat/config.lua
+++ b/lua/CopilotChat/config.lua
@@ -61,7 +61,7 @@ return {
system_prompt = 'COPILOT_INSTRUCTIONS', -- System prompt to use (can be specified manually in prompt via /).
- model = 'gpt-4o', -- Default model to use, see ':CopilotChatModels' for available models (can be specified manually in prompt via $).
+ model = 'gpt-4.1', -- Default model to use, see ':CopilotChatModels' for available models (can be specified manually in prompt via $).
agent = 'none', -- Default agent to use, see ':CopilotChatAgents' for available agents (can be specified manually in prompt via @).
context = nil, -- Default context or array of contexts to use (can be specified manually in prompt via #).
sticky = nil, -- Default sticky prompt or array of sticky prompts to use at start of every new chat.
diff --git a/version.txt b/version.txt
index 371cfe35..92536a9e 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-3.11.1
+3.12.0