fix prediction error
This commit is contained in:
parent
9c11325209
commit
4e636e5d91
1 changed files with 2 additions and 0 deletions
|
|
@ -150,6 +150,8 @@ class OpenAI extends BaseLLM {
|
|||
finalOptions.max_completion_tokens = undefined;
|
||||
|
||||
finalOptions.prediction = options.prediction;
|
||||
} else {
|
||||
finalOptions.prediction = undefined;
|
||||
}
|
||||
|
||||
return finalOptions;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue