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": "us-east-1"
          },
          "models": {
            "claude-pro": {
              "name": "Claude Opus (Pro)",
              "id": "arn:aws:bedrock:us-east-1:841162690310:application-inference-profile/c7dpemrgx53d",
              "limit": {
                "context": 200000,
                "output": 16384
              },
              "cost": {
                "input": 5.0,
                "output": 25.0,
                "cache_read": 0.5,
                "cache_write": 6.25
              },
              "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 (Standard)",
              "id": "arn:aws:bedrock:us-east-1:841162690310:application-inference-profile/49r21k0ahow4",
              "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
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
