From c9bce68d45f9449ccb0d7b5f14d7a3fe84bef0c7 Mon Sep 17 00:00:00 2001 From: fl0l0u Date: Sun, 15 Nov 2026 21:34:39 +0000 Subject: [PATCH] museglimmer: the reply-format table moves to arch/common chat.h sat in arch/museglimmer/ while the ct plugin and chatparse_test included it across the directory boundary -- a shared reply-format table, and the house answer for that already exists twice over: rad_gemma4_chat.h and rad_deepseek41_chat.h in arch/common. Moved to rad_museglimmer_chat.h beside them; the three consumers take the same include the other two already use. Standards axis of the 2.1.0 review pass, finding 9. --- arch/museglimmer/museglimmer.cpp | 2 +- arch/museglimmer_ct/museglimmer_ct.cpp | 2 +- tests/chatparse_test.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/museglimmer/museglimmer.cpp b/arch/museglimmer/museglimmer.cpp index 0f493245..513fdb33 100644 --- a/arch/museglimmer/museglimmer.cpp +++ b/arch/museglimmer/museglimmer.cpp @@ -56,7 +56,7 @@ #include #include #include -#include "chat.h" +#include #include #include diff --git a/arch/museglimmer_ct/museglimmer_ct.cpp b/arch/museglimmer_ct/museglimmer_ct.cpp index 44dea15c..c03ef50b 100644 --- a/arch/museglimmer_ct/museglimmer_ct.cpp +++ b/arch/museglimmer_ct/museglimmer_ct.cpp @@ -29,7 +29,7 @@ #include #include #include -#include "../museglimmer/chat.h" +#include #include #include diff --git a/tests/chatparse_test.cpp b/tests/chatparse_test.cpp index 16eb2b59..62cb42bf 100644 --- a/tests/chatparse_test.cpp +++ b/tests/chatparse_test.cpp @@ -32,7 +32,7 @@ #include "text/chatfmt.h" #include "text/chatparse.h" -#include "../arch/museglimmer/chat.h" +#include #include #include "util/json.h" @@ -2673,7 +2673,7 @@ TEST(a_long_reply_holds_a_constant_number_of_bytes) { * * The model opens its own channel after `<|start|>assistant`: ` to=self<|message|>` reasoning * first, or ` to=user<|message|>` straight into the answer when it does not reason - * (arch/museglimmer/chat.h). The header of an answer that follows reasoning is reasoning_close's; + * (arch/rad_museglimmer_chat.h). The header of an answer that follows reasoning is reasoning_close's; * the header of an answer that does not is content_open's. */ static std::shared_ptr muse_parser(bool tools, bool extract = true) {