mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
feat(server): upgrade models to gpt4.1 (#11696)
This commit is contained in:
@@ -461,8 +461,9 @@ const actions = [
|
||||
],
|
||||
verifier: (t: ExecutionContext<Tester>, result: string) => {
|
||||
assertNotWrappedInCodeBlock(t, result);
|
||||
const cleared = result.toLowerCase();
|
||||
t.assert(
|
||||
result.toLowerCase().includes('单一事实来源'),
|
||||
cleared.includes('单一') || cleared.includes('SSOT'),
|
||||
'explain code result should include keyword'
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user