File size: 327 Bytes
4e23b01
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import { z } from 'zod';

export const stepUsageSchema = z.object({
  input_other: z.number().int().nonnegative(),
  output: z.number().int().nonnegative(),
  input_cache_read: z.number().int().nonnegative(),
  input_cache_creation: z.number().int().nonnegative(),
});

export type StepUsage = z.infer<typeof stepUsageSchema>;