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 @@ -150,7 +150,9 @@ async function get_code_completion_config(
150150 default_config &&
151151 default_config . provider_type == config . provider_type &&
152152 default_config . provider_name == config . provider_name &&
153- default_config . model == config . model
153+ default_config . model == config . model &&
154+ default_config . temperature == config . temperature &&
155+ default_config . reasoning_effort == config . reasoning_effort
154156
155157 if ( code_completions_configs . length > 1 ) {
156158 if ( index > 0 ) {
@@ -169,7 +171,7 @@ async function get_code_completion_config(
169171 }
170172
171173 return {
172- label : config . model ,
174+ label : is_default ? `$(star) ${ config . model } ` : config . model ,
173175 description : `${
174176 config . reasoning_effort
175177 ? `Reasoning effort: ${ config . reasoning_effort } `
Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ const get_edit_context_config = async (
6666 default_config &&
6767 default_config . provider_type == config . provider_type &&
6868 default_config . provider_name == config . provider_name &&
69- default_config . model == config . model
69+ default_config . model == config . model &&
70+ default_config . temperature == config . temperature &&
71+ default_config . reasoning_effort == config . reasoning_effort
7072
7173 if ( edit_context_configs . length > 1 ) {
7274 if ( index > 0 ) {
@@ -85,7 +87,7 @@ const get_edit_context_config = async (
8587 }
8688
8789 return {
88- label : config . model ,
90+ label : is_default ? `$(star) ${ config . model } ` : config . model ,
8991 description : `${
9092 config . reasoning_effort
9193 ? `Reasoning effort: ${ config . reasoning_effort } `
You can’t perform that action at this time.
0 commit comments