From 4e636e5d914ecb82990e9ce0b57a3ede3bb425c5 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 15 Dec 2024 09:29:34 -0800 Subject: [PATCH 1/2] fix prediction error --- core/llm/llms/OpenAI.ts | 2 ++ 1 file changed, 2 insertions(+) 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; From ea955512f4cefb0874d27192f3200075a3f2ec5a Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 15 Dec 2024 09:30:56 -0800 Subject: [PATCH 2/2] .continuerules --- .instructions => .continuerules | 0 .gitignore | 4 +++- tsconfig.json | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) rename .instructions => .continuerules (100%) create mode 100644 tsconfig.json 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/tsconfig.json b/tsconfig.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1 @@ +{}