mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-06-13 18:31:16 +08:00
test: update llm token field assertions
This commit is contained in:
@@ -410,7 +410,8 @@ async function testJsonRetryKeepsProfileCompletionTokens() {
|
||||
|
||||
const snapshot = getSnapshot("extract");
|
||||
assert.ok(snapshot);
|
||||
assert.equal(snapshot.requestBody?.max_completion_tokens, 7777);
|
||||
assert.equal(snapshot.requestBody?.max_tokens, 7777);
|
||||
assert.equal(snapshot.requestBody?.max_completion_tokens, undefined);
|
||||
assert.equal(snapshot.filteredGeneration?.max_completion_tokens, 7777);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user