Commit fba766e
fix: include compute_tier in create-app payload (#64)
## Summary
- `ToPayload()` mapped every scaling field except `ComputeTier`, so
`compute_tier = "protected"` in `cerebrium.toml` was silently dropped
from the API request body
- Companion backend PR: CerebriumAI/dashboard-backend —
`jono/fix-compute-tier-in-create-app`
## Test plan
- [ ] Set `compute_tier = "protected"` in cerebrium.toml and deploy —
verify `computeTier` appears in the request body
- [ ] Deploy without `compute_tier` set — verify no regression
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5d8e7cb commit fba766e
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
| |||
0 commit comments