Skip to content

Commit e1cb63b

Browse files
azdanovdeathbeam
authored andcommitted
docs: update mentions of default model to gpt-4.1
1 parent 5f105cf commit e1cb63b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ Below are all available configuration options with their default values:
453453

454454
system_prompt = 'COPILOT_INSTRUCTIONS', -- System prompt to use (can be specified manually in prompt via /).
455455

456-
model = 'gpt-4o-2024-11-20', -- Default model to use, see ':CopilotChatModels' for available models (can be specified manually in prompt via $).
456+
model = 'gpt-4.1', -- Default model to use, see ':CopilotChatModels' for available models (can be specified manually in prompt via $).
457457
agent = 'copilot', -- Default agent to use, see ':CopilotChatAgents' for available agents (can be specified manually in prompt via @).
458458
context = nil, -- Default context or array of contexts to use (can be specified manually in prompt via #).
459459
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")
761761

762762
-- Use custom context and model
763763
require("CopilotChat").ask("How can I optimize this?", {
764-
model = "gpt-4o",
764+
model = "gpt-4.1",
765765
context = {"buffer", "git:staged"}
766766
})
767767
```

doc/CopilotChat.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ Below are all available configuration options with their default values:
512512

513513
system_prompt = 'COPILOT_INSTRUCTIONS', -- System prompt to use (can be specified manually in prompt via /).
514514

515-
model = 'gpt-4o-2024-11-20', -- Default model to use, see ':CopilotChatModels' for available models (can be specified manually in prompt via $).
515+
model = 'gpt-4.1', -- Default model to use, see ':CopilotChatModels' for available models (can be specified manually in prompt via $).
516516
agent = 'copilot', -- Default agent to use, see ':CopilotChatAgents' for available agents (can be specified manually in prompt via @).
517517
context = nil, -- Default context or array of contexts to use (can be specified manually in prompt via #).
518518
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*
827827

828828
-- Use custom context and model
829829
require("CopilotChat").ask("How can I optimize this?", {
830-
model = "gpt-4o",
830+
model = "gpt-4.1",
831831
context = {"buffer", "git:staged"}
832832
})
833833
<

0 commit comments

Comments
 (0)