diff --git a/.instructions b/.continuerules similarity index 100% rename from .instructions rename to .continuerules diff --git a/.gitignore b/.gitignore index 4a588442a..f331ec68c 100644 --- a/.gitignore +++ b/.gitignore @@ -166,4 +166,6 @@ extensions/intellij/.idea/** extensions/intellij/bin extensions/.continue-debug/ -*.vsix \ No newline at end of file +*.vsix + +.continuerules \ No newline at end of file diff --git a/core/llm/llms/OpenAI.ts b/core/llm/llms/OpenAI.ts index 9f56eb2be..899c66653 100644 --- a/core/llm/llms/OpenAI.ts +++ b/core/llm/llms/OpenAI.ts @@ -150,6 +150,8 @@ class OpenAI extends BaseLLM { finalOptions.max_completion_tokens = undefined; finalOptions.prediction = options.prediction; + } else { + finalOptions.prediction = undefined; } return finalOptions; diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1 @@ +{}