mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-10 16:19:01 +02:00
addon.node : support max_context api for addon.node (#3025)
* feat: support max content * feat: show api in test file --------- Co-authored-by: linxiaodong <calm.lin@wukongsch.com>
This commit is contained in:
@ -19,6 +19,12 @@ const whisperParamsMock = {
|
||||
no_timestamps: false,
|
||||
audio_ctx: 0,
|
||||
max_len: 0,
|
||||
prompt: "",
|
||||
print_progress: false,
|
||||
progress_callback: (progress) => {
|
||||
console.log(`Progress: ${progress}`);
|
||||
},
|
||||
max_context: -1
|
||||
};
|
||||
|
||||
describe("Run whisper.node", () => {
|
||||
|
Reference in New Issue
Block a user