docs: share image model

This commit is contained in:
Jay V 2025-07-08 15:19:56 -04:00
parent 1e07384364
commit 0514f3f43b

View file

@ -23,9 +23,8 @@ const models: Set<string> = new Set();
const version = data.info.version ? `v${data.info.version}` : "v0.0.1";
Object.values(data.messages).forEach((d) => {
const assistant = d.metadata?.assistant;
if (assistant) {
models.add(assistant.modelID);
if (d.role === "assistant" && d.modelID) {
models.add(d.modelID);
}
});