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
<arch/...> include the other two already use.

Standards axis of the 2.1.0 review pass, finding 9.
This commit is contained in:
fl0l0u committed 2026-11-15 22:02:30 +00:00
1 parent a8d82678fa
commit c9bce68d45
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -32,7 +32,7 @@
#include "text/chatfmt.h"
#include "text/chatparse.h"
#include "../arch/museglimmer/chat.h"
#include <arch/rad_museglimmer_chat.h>
#include <arch/rad_deepseek41_chat.h>
#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<const ReplyParser> muse_parser(bool tools, bool extract = true) {