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');