chore: update README for MAGI/MoA/Bun + show model names in MoA dashboard

This commit is contained in:
Eyejoker
2026-03-31 01:51:44 +09:00
parent da27d30079
commit e9f9340ece
3 changed files with 78 additions and 72 deletions

View File

@@ -99,9 +99,8 @@ async function queryModel(
.map((b: { text: string }) => b.text)
.join('');
} else {
content = (
data as { choices?: { message?: { content?: string } }[] }
).choices?.[0]?.message?.content;
content = (data as { choices?: { message?: { content?: string } }[] })
.choices?.[0]?.message?.content;
}
if (!content) throw new Error('Empty response from model');

View File

@@ -595,7 +595,9 @@ function buildModelConfigSection(): string {
// MoA status
const moaConfig = getMoaConfig();
if (moaConfig.enabled) {
const refs = moaConfig.referenceModels.map((m) => m.name).join(', ');
const refs = moaConfig.referenceModels
.map((m) => `${m.name} \`${m.model}\``)
.join(', ');
lines.push(` **MoA** — ${refs}`);
}