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 @@ -7,7 +7,6 @@ import axios from 'axios'
77import { PROVIDERS } from '@shared/constants/providers'
88import { LAST_SELECTED_EDIT_CONTEXT_CONFIG_INDEX_STATE_KEY } from '@/constants/state-keys'
99import { EditFormat } from '@shared/types/edit-format'
10- import { DEFAULT_TEMPERATURE } from '@shared/constants/api-tools'
1110
1211const get_edit_context_config = async (
1312 api_providers_manager : ApiProvidersManager ,
@@ -91,13 +90,8 @@ const get_edit_context_config = async (
9190 config . reasoning_effort
9291 ? `Reasoning effort: ${ config . reasoning_effort } `
9392 : ''
94- } ${
95- config . temperature &&
96- config . temperature != DEFAULT_TEMPERATURE [ 'edit-context' ]
97- ? config . reasoning_effort
98- ? ` · Temperature: ${ config . temperature } `
99- : `Temperature: ${ config . temperature } `
100- : ''
93+ } ${ config . reasoning_effort ? ' · ' : '' } Temperature: ${
94+ config . temperature
10195 } `,
10296 detail : config . provider_name ,
10397 config,
You can’t perform that action at this time.
0 commit comments