diff --git a/app/models/command/get_insight.rb b/app/models/command/get_insight.rb index 5505faed7..65c356e41 100644 --- a/app/models/command/get_insight.rb +++ b/app/models/command/get_insight.rb @@ -21,7 +21,7 @@ class Command::GetInsight < Command end private - MAX_COMPLETED_CARDS = 50 + MAX_COMPLETED_CARDS = 40 def chat chat = RubyLLM.chat(model: "chatgpt-4o-latest") diff --git a/app/models/command/parser/context.rb b/app/models/command/parser/context.rb index 81aaa65e1..cb5a7e0a4 100644 --- a/app/models/command/parser/context.rb +++ b/app/models/command/parser/context.rb @@ -1,7 +1,7 @@ class Command::Parser::Context attr_reader :user, :url, :script_name, :source_context - MAX_CARDS = 100 + MAX_CARDS = 75 def initialize(user, url:, script_name: "", source_context: nil) @user = user