mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-29 16:19:43 +08:00
feat(server): enable web search for 4.1 (#11825)
This commit is contained in:
@@ -600,6 +600,8 @@ const workflows = [
|
||||
content: 'apple company',
|
||||
verifier: (t: ExecutionContext, result: string) => {
|
||||
for (const l of result.split('\n')) {
|
||||
const line = l.trim();
|
||||
if (!line) continue;
|
||||
t.notThrows(() => {
|
||||
JSON.parse(l.trim());
|
||||
}, 'should be valid json');
|
||||
|
||||
Reference in New Issue
Block a user