File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6868 run : pnpm lint
6969 - name : Lint fix check
7070 run : |
71- pnpm lint - -fix
71+ pnpm lint-fix
7272 git diff --exit-code
7373 - name : Formatting check
7474 run : pnpm format-check
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ Parameters:
156156 - ` title ` (string): Title of the pull request for the proposal.
157157 - ` body ` (string): Description of the pull request for the proposal.
158158 - ` metadata ` (object, optional)
159- - ` cost ` (number): Cost incurred for implementing the task.
159+ - ` cost_in_cents ` (number): Cost (in USD cents) incurred for implementing the task.
160160
161161### ` code.cleanup `
162162
Original file line number Diff line number Diff line change @@ -186,6 +186,6 @@ export interface CodeProposeParams extends CodeDownloadParams {
186186 body ?: string ;
187187 } ;
188188 metadata ?: Record < string , unknown > & {
189- cost ?: number ;
189+ cost_in_cents ?: number ;
190190 } ;
191191}
Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ suite('code', () => {
461461 response = await automa . code . propose ( {
462462 task : { id : 28 , token : 'abcdef' } ,
463463 metadata : {
464- cost : 0.1 ,
464+ cost_in_cents : 10 ,
465465 random : 'yes' ,
466466 } ,
467467 } ) ;
@@ -485,7 +485,7 @@ suite('code', () => {
485485 } ,
486486 task : { id : 28 , token : 'abcdef' } ,
487487 metadata : {
488- cost : 0.1 ,
488+ cost_in_cents : 10 ,
489489 random : 'yes' ,
490490 } ,
491491 } ,
You can’t perform that action at this time.
0 commit comments