You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log::debug!("Sending patch to LLM: {}", commit_hash);
167
167
let co = ChatOptions{
168
168
model:Some(&llm_model_name),
169
+
token_limit: llm_ctx_size,
169
170
restart:true,
170
171
system_prompt:Some(system),
171
172
..Default::default()
172
173
};
173
-
let question = "The following is a GitHub patch. Please summarize the key changes in concise points. Start with the most important findings.\n\n".to_string() + truncate(commit,CHAR_SOFT_LIMIT);
174
+
let question = "The following is a GitHub patch. Please summarize the key changes in concise points. Start with the most important findings.\n\n".to_string() + truncate(commit,ctx_size_char);
174
175
match lf.chat_completion(&chat_id,&question,&co).await{
0 commit comments