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');
|
||||
|
||||
Reference in New Issue
Block a user