aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/modules.d/gpt.conf2
-rw-r--r--src/plugins/lua/gpt.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/conf/modules.d/gpt.conf b/conf/modules.d/gpt.conf
index eac9952e5..c76a08c92 100644
--- a/conf/modules.d/gpt.conf
+++ b/conf/modules.d/gpt.conf
@@ -18,7 +18,7 @@ gpt {
# Your key to access the API (add this to enable this plugin)
#api_key = "xxx";
# Model name
- model = "gpt-3.5-turbo";
+ model = "gpt-4o-mini";
# Maximum tokens to generate
max_tokens = 1000;
# Temperature for sampling
diff --git a/src/plugins/lua/gpt.lua b/src/plugins/lua/gpt.lua
index 5e19d2998..61217cbf8 100644
--- a/src/plugins/lua/gpt.lua
+++ b/src/plugins/lua/gpt.lua
@@ -27,7 +27,7 @@ gpt {
# Your key to access the API
api_key = "xxx";
# Model name
- model = "gpt-3.5-turbo";
+ model = "gpt-4o-mini";
# Maximum tokens to generate
max_tokens = 1000;
# Temperature for sampling
@@ -69,7 +69,7 @@ local default_symbols_to_except = {
local settings = {
type = 'openai',
api_key = nil,
- model = 'gpt-3.5-turbo',
+ model = 'gpt-4o-mini',
max_tokens = 1000,
temperature = 0.0,
timeout = 10,