mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 07:20:27 +00:00
Render version
This commit is contained in:
parent
a834bedc17
commit
1e8a681de9
2 changed files with 143 additions and 94 deletions
|
|
@ -13,7 +13,7 @@ const data = await res.json();
|
|||
|
||||
let cost = 0;
|
||||
const models: Set<string> = new Set();
|
||||
const version = "v0.1.1";
|
||||
const version = `v${data.info.version}`;
|
||||
Object.values(data.messages).forEach((d) => {
|
||||
const assistant = d.metadata?.assistant;
|
||||
if (assistant) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue