diff --git a/core/edit/recursiveStream.ts b/core/edit/recursiveStream.ts index 35678c892..a835fe357 100644 --- a/core/edit/recursiveStream.ts +++ b/core/edit/recursiveStream.ts @@ -8,7 +8,6 @@ const INFINITE_STREAM_SAFETY = 0.9; const DUD_PROMPT_LOG: PromptLog = { modelTitle: "", modelProvider: "", - completionOptions: { model: "" }, prompt: "", completion: "", }; diff --git a/core/index.d.ts b/core/index.d.ts index 10966f084..4e6ee0107 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -456,7 +456,6 @@ export type FileSymbolMap = Record; export interface PromptLog { modelTitle: string; modelProvider: string; - completionOptions: CompletionOptions; prompt: string; completion: string; } diff --git a/core/llm/index.ts b/core/llm/index.ts index 1a0330eaa..f81496f9e 100644 --- a/core/llm/index.ts +++ b/core/llm/index.ts @@ -1146,7 +1146,6 @@ export abstract class BaseLLM implements ILLM { modelProvider: this.underlyingProviderName, prompt, completion, - completionOptions, }; } diff --git a/core/llm/llm-pre-fetch.vitest.ts b/core/llm/llm-pre-fetch.vitest.ts index 3ba86ffa1..f6c271870 100644 --- a/core/llm/llm-pre-fetch.vitest.ts +++ b/core/llm/llm-pre-fetch.vitest.ts @@ -19,9 +19,6 @@ async function dudLLMCall(llm: ILLM, messages: ChatMessage[]) { await gen.next(); await gen.return({ completion: "", - completionOptions: { - model: "", - }, modelTitle: "", modelProvider: "", prompt: "", diff --git a/gui/src/components/FeedbackButtons.tsx b/gui/src/components/FeedbackButtons.tsx index f03c02f2c..a942531c4 100644 --- a/gui/src/components/FeedbackButtons.tsx +++ b/gui/src/components/FeedbackButtons.tsx @@ -26,6 +26,7 @@ export function FeedbackButtons({ item }: FeedbackButtonsProps) { name: "chatFeedback", data: { ...logData, + completionOptions: {}, // TODO delete completionOptions from @continuedev/config-yaml modelProvider: modelProvider || "unknown", modelName: modelTitle, modelTitle: modelTitle,