File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
registry/coder-labs/modules/copilot/scripts Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ ARG_MCP_CONFIG=$(echo -n "${ARG_MCP_CONFIG:-}" | base64 -d 2> /dev/null || echo
1414ARG_COPILOT_CONFIG=$( echo -n " ${ARG_COPILOT_CONFIG:- } " | base64 -d 2> /dev/null || echo " " )
1515ARG_EXTERNAL_AUTH_ID=${ARG_EXTERNAL_AUTH_ID:- github}
1616ARG_COPILOT_VERSION=${ARG_COPILOT_VERSION:- 0.0.334}
17+ ARG_COPILOT_MODEL=${ARG_COPILOT_MODEL:- claude-sonnet-4.5}
1718
1819validate_prerequisites () {
1920 if ! command_exists node; then
@@ -201,7 +202,7 @@ add_custom_mcp_servers() {
201202}
202203
203204configure_copilot_model () {
204- if [ -n " $ARG_COPILOT_MODEL " ] && [ " $ARG_COPILOT_MODEL " != " claude-sonnet-4.5" ]; then
205+ if [ " $ARG_COPILOT_MODEL " != " claude-sonnet-4.5" ]; then
205206 echo " Setting Copilot model to: $ARG_COPILOT_MODEL "
206207 copilot config model " $ARG_COPILOT_MODEL " || {
207208 echo " WARNING: Failed to set model via copilot config, will use environment variable fallback"
You can’t perform that action at this time.
0 commit comments