fix: old version logprobs to false

This commit is contained in:
2024-02-23 19:46:09 +08:00
parent 4b1f81f72b
commit 24aba9ae07

View File

@@ -217,7 +217,6 @@ export function App() {
message.token = calculate_token_length(message.content); message.token = calculate_token_length(message.content);
} }
if (ret.cost === undefined) ret.cost = 0; if (ret.cost === undefined) ret.cost = 0;
if (ret.logprobs === undefined) ret.logprobs = true;
return ret; return ret;
}; };