apiVersion: v1
kind: ConfigMap
metadata:
  name: agent-config
data:
  opencode.jsonc: |-
    {
      "$schema": "https://opencode.ai/config.json",
      "model": "chat/claude-standard",
      "provider": {
        "chat": {
          "npm": "@ai-sdk/amazon-bedrock",
          "name": "chat",
          "options": {
            "region": "ap-southeast-1"
          },
          "models": {
            "claude-pro": {
              "name": "Claude Opus 4.6 (Pro)",
              "id": "arn:aws:bedrock:ap-southeast-1:841162690310:application-inference-profile/sx5ayf65ryvg",
              "limit": {
                "context": 200000,
                "output": 16384
              },
              "cost": {
                "input": 3.0,
                "output": 15.0,
                "cache_read": 0.3,
                "cache_write": 3.75
              },
              "variants": {
                "high": {
                  "reasoningConfig": {
                    "type": "enabled",
                    "budgetTokens": 8192
                  },
                  "additionalModelRequestFields": {
                    "thinking": {
                      "type": "enabled",
                      "budget_tokens": 8192
                    }
                  }
                },
                "max": {
                  "reasoningConfig": {
                    "type": "enabled",
                    "budgetTokens": 12000
                  },
                  "additionalModelRequestFields": {
                    "thinking": {
                      "type": "enabled",
                      "budget_tokens": 12000
                    }
                  }
                }
              }
            },
            "claude-standard": {
              "name": "Claude Sonnet 4.6 (Standard)",
              "id": "arn:aws:bedrock:ap-southeast-1:841162690310:application-inference-profile/2htv1ujn6mxt",
              "limit": {
                "context": 200000,
                "output": 16384
              },
              "cost": {
                "input": 3.0,
                "output": 15.0,
                "cache_read": 0.3,
                "cache_write": 3.75
              },
              "variants": {
                "high": {
                  "reasoningConfig": {
                    "type": "enabled",
                    "budgetTokens": 8192
                  },
                  "additionalModelRequestFields": {
                    "thinking": {
                      "type": "enabled",
                      "budget_tokens": 8192
                    }
                  }
                },
                "max": {
                  "reasoningConfig": {
                    "type": "enabled",
                    "budgetTokens": 12000
                  },
                  "additionalModelRequestFields": {
                    "thinking": {
                      "type": "enabled",
                      "budget_tokens": 12000
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
