Show local AI activity feedback
Build and publish static assets / publish (push) Successful in 8m21s
Build and publish static assets / publish (push) Successful in 8m21s
This commit is contained in:
@@ -21,7 +21,7 @@ test('browser local AI prompt declares non-authoritative, bounded assistance tas
|
||||
|
||||
test('local AI runtime and model are published only under the owned static origin', async () => {
|
||||
const source = fs.readFileSync(path.join(__dirname, '..', 'scripts', 'build-assets.mjs'), 'utf8');
|
||||
assert.ok(source.includes('wllama-gemma3-v1'));
|
||||
assert.ok(source.includes('wllama-gemma3-v2'));
|
||||
assert.ok(source.includes('wllama-3.8.1.tgz'));
|
||||
assert.ok(source.includes('gemma-3-1b-it-Q4_K_M.gguf'));
|
||||
assert.ok(source.includes('manifest.json'));
|
||||
@@ -45,6 +45,6 @@ test('Gemma terms, prohibited-use policy, notice, provenance, and runtime licens
|
||||
assert.match(terms, /must include the use restrictions/);
|
||||
assert.doesNotMatch(terms, /<script|google-signin|google-analytics/);
|
||||
const nginx = fs.readFileSync(path.join(__dirname, '..', 'nginx', 'default.conf'), 'utf8');
|
||||
assert.match(nginx, /location = \/static\/wllama-gemma3-v1\/manifest\.json[\s\S]*?Cache-Control "no-cache"/);
|
||||
assert.match(nginx, /location = \/static\/wllama-gemma3-v1\/local-ai\.js[\s\S]*?Cache-Control "no-cache"/);
|
||||
assert.match(nginx, /location = \/static\/wllama-gemma3-v2\/manifest\.json[\s\S]*?Cache-Control "no-cache"/);
|
||||
assert.match(nginx, /location = \/static\/wllama-gemma3-v2\/local-ai\.js[\s\S]*?Cache-Control "no-cache"/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user