File tree Expand file tree Collapse file tree
packages/vscode/src/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import { Logger } from '../utils/logger'
88import he from 'he'
99import { PROVIDERS } from '@shared/constants/providers'
1010import { LAST_SELECTED_CODE_COMPLETION_CONFIG_INDEX_STATE_KEY } from '../constants/state-keys'
11- import { DEFAULT_TEMPERATURE } from '@shared/constants/api-tools'
1211
1312async function build_completion_payload ( params : {
1413 document : vscode . TextDocument
@@ -175,13 +174,8 @@ async function get_code_completion_config(
175174 config . reasoning_effort
176175 ? `Reasoning effort: ${ config . reasoning_effort } `
177176 : ''
178- } ${
179- config . temperature &&
180- config . temperature != DEFAULT_TEMPERATURE [ 'code-completions' ]
181- ? config . reasoning_effort
182- ? ` · Temperature: ${ config . temperature } `
183- : `Temperature: ${ config . temperature } `
184- : ''
177+ } ${ config . reasoning_effort ? ' · ' : '' } Temperature: ${
178+ config . temperature
185179 } `,
186180 detail : config . provider_name ,
187181 config,
You can’t perform that action at this time.
0 commit comments