Merge pull request #3385 from continuedev/nate/prediction
fix prediction error
This commit is contained in:
commit
f7965bfc2b
4 changed files with 6 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -166,4 +166,6 @@ extensions/intellij/.idea/**
|
|||
extensions/intellij/bin
|
||||
extensions/.continue-debug/
|
||||
|
||||
*.vsix
|
||||
*.vsix
|
||||
|
||||
.continuerules
|
||||
|
|
@ -150,6 +150,8 @@ class OpenAI extends BaseLLM {
|
|||
finalOptions.max_completion_tokens = undefined;
|
||||
|
||||
finalOptions.prediction = options.prediction;
|
||||
} else {
|
||||
finalOptions.prediction = undefined;
|
||||
}
|
||||
|
||||
return finalOptions;
|
||||
|
|
|
|||
1
tsconfig.json
Normal file
1
tsconfig.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{}
|
||||
Loading…
Add table
Reference in a new issue