g1t/services/integrations/migrations/0004_session_tier.sql
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Auto model routing: the cheapest tier that can do each piece of work, a retry goes up a tier, and each run records its tier | 1 | -- The tier a run on g1t's hosted models was routed to, small or large. |
| 2 | -- The model proxy tags each of the run's requests with it at the gateway. | |
| 3 | -- Null for a workspace's own provider. | |
| 4 | ALTER TABLE model_sessions ADD COLUMN tier TEXT; |