Skip to content

Commit e0a0d8b

Browse files
fix: add COPILOT_MODEL to install args
1 parent db8217e commit e0a0d8b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

registry/coder-labs/modules/copilot/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ module "agentapi" {
295295
ARG_COPILOT_CONFIG='${base64encode(local.final_copilot_config)}' \
296296
ARG_EXTERNAL_AUTH_ID='${var.external_auth_id}' \
297297
ARG_COPILOT_VERSION='${var.copilot_version}' \
298+
ARG_COPILOT_MODEL='${var.copilot_model}' \
298299
/tmp/install.sh
299300
EOT
300301
}

registry/coder-labs/modules/copilot/scripts/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ ARG_MCP_CONFIG=$(echo -n "${ARG_MCP_CONFIG:-}" | base64 -d 2> /dev/null || echo
1414
ARG_COPILOT_CONFIG=$(echo -n "${ARG_COPILOT_CONFIG:-}" | base64 -d 2> /dev/null || echo "")
1515
ARG_EXTERNAL_AUTH_ID=${ARG_EXTERNAL_AUTH_ID:-github}
1616
ARG_COPILOT_VERSION=${ARG_COPILOT_VERSION:-0.0.334}
17+
ARG_COPILOT_MODEL=${ARG_COPILOT_MODEL:-claude-sonnet-4.5}
1718

1819
validate_prerequisites() {
1920
if ! command_exists node; then

0 commit comments

Comments
 (0)