File tree Expand file tree Collapse file tree
src/views/utils/upsert-configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "name" : " gemini-coder" ,
33 "displayName" : " Code Web Chat" ,
44 "description" : " The fastest way to code with AI (CWC)" ,
5- "version" : " 1.900 .0" ,
5+ "version" : " 1.901 .0" ,
66 "scripts" : {
77 "build" : " npx vsce package --no-dependencies" ,
88 "vscode:prepublish" : " rimraf out && npm run compile" ,
Original file line number Diff line number Diff line change @@ -348,6 +348,13 @@ export const upsert_configuration = async (params: {
348348 tool_type : params . tool_type
349349 } )
350350 if ( new_model !== undefined ) {
351+ if (
352+ updated_config . provider_name != new_provider . provider_name ||
353+ updated_config . model != new_model
354+ ) {
355+ delete updated_config . temperature
356+ delete updated_config . reasoning_effort
357+ }
351358 updated_config . provider_name = new_provider . provider_name
352359 updated_config . model = new_model
353360 break
You can’t perform that action at this time.
0 commit comments