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,6 +7,7 @@ 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'
1011
1112const get_edit_context_config = async (
1213 api_providers_manager : ApiProvidersManager ,
@@ -87,12 +88,18 @@ const get_edit_context_config = async (
8788 return {
8889 label : config . model ,
8990 description : `${
90- config . reasoning_effort ? `${ config . reasoning_effort } ` : ''
91- } ${
9291 config . reasoning_effort
93- ? ` · ${ config . provider_name } `
94- : `${ config . provider_name } `
92+ ? `Reasoning effort: ${ config . reasoning_effort } `
93+ : ''
94+ } ${
95+ config . temperature &&
96+ config . temperature != DEFAULT_TEMPERATURE [ 'edit-context' ]
97+ ? config . reasoning_effort
98+ ? ` · Temperature: ${ config . temperature } `
99+ : `Temperature: ${ config . temperature } `
100+ : ''
95101 } `,
102+ detail : config . provider_name ,
96103 config,
97104 index,
98105 buttons
You can’t perform that action at this time.
0 commit comments