Mark WilkensXL build versions
Some checks failed
Container Image / build-and-push (push) Has been cancelled
Some checks failed
Container Image / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -994,7 +994,10 @@
|
||||
el.textContent = 'Type /setup, then choose Local models or API.';
|
||||
}
|
||||
fetch('/api/version').then(function(r){return r.json()}).then(function(d){
|
||||
if (d.version) window._appVersion = d.version;
|
||||
var fullVersion = d.full_version || d.build_version || d.version;
|
||||
if (fullVersion) window._appVersion = fullVersion;
|
||||
if (d.upstream_version) window._upstreamVersion = d.upstream_version;
|
||||
if (d.build_flavor) window._buildFlavor = d.build_flavor;
|
||||
}).catch(function(){});
|
||||
})();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user