chore: update README for MAGI/MoA/Bun + show model names in MoA dashboard
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user