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
if policy == MergeRagContextPolicy::SystemMessage && !has_system_prompt {
862
-
let err_msg = "The chat model does not support system message, while the given rag policy by '--policy' option requires that the RAG context is merged into system message. Please check the relevant CLI options and try again.";
863
-
864
866
// log
865
-
error!(target:"stdout","{}",&err_msg);
867
+
info!(target:"stdout","The chat model does not support system message. Switch the currect rag policy to `last-user-message`");
0 commit comments