mirror of
https://github.com/sst/opencode.git
synced 2025-07-10 01:24:59 +00:00
docs: share image model
This commit is contained in:
parent
1e07384364
commit
0514f3f43b
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue