Skip to content

Commit 75973e6

Browse files
prathikrPrathik Rao
andauthored
print variants (#432)
Co-authored-by: Prathik Rao <prathikrao@microsoft.com>
1 parent 9e11226 commit 75973e6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sdk_v2/js/examples/chat-completion.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ async function main() {
2525

2626
console.log(`Found ${models.length} models:`);
2727
for (const model of models) {
28-
console.log(` - ${model.alias}`);
28+
const variants = model.variants.map((v: any) => v.id).join(', ');
29+
console.log(` - ${model.alias} (variants: ${variants})`);
2930
}
3031

3132
// Explore cached models

0 commit comments

Comments
 (0)