@@ -7,7 +7,7 @@ const client = new LlamaStackClient({ baseURL: process.env['TEST_API_BASE_URL']
77
88describe ( 'resource benchmarks' ,  ( )  =>  { 
99  test ( 'retrieve' ,  async  ( )  =>  { 
10-     const  responsePromise  =  client . benchmarks . retrieve ( 'benchmark_id' ) ; 
10+     const  responsePromise  =  client . alpha . benchmarks . retrieve ( 'benchmark_id' ) ; 
1111    const  rawResponse  =  await  responsePromise . asResponse ( ) ; 
1212    expect ( rawResponse ) . toBeInstanceOf ( Response ) ; 
1313    const  response  =  await  responsePromise ; 
@@ -20,12 +20,12 @@ describe('resource benchmarks', () => {
2020  test ( 'retrieve: request options instead of params are passed correctly' ,  async  ( )  =>  { 
2121    // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error 
2222    await  expect ( 
23-       client . benchmarks . retrieve ( 'benchmark_id' ,  {  path : '/_stainless_unknown_path'  } ) , 
23+       client . alpha . benchmarks . retrieve ( 'benchmark_id' ,  {  path : '/_stainless_unknown_path'  } ) , 
2424    ) . rejects . toThrow ( LlamaStackClient . NotFoundError ) ; 
2525  } ) ; 
2626
2727  test ( 'list' ,  async  ( )  =>  { 
28-     const  responsePromise  =  client . benchmarks . list ( ) ; 
28+     const  responsePromise  =  client . alpha . benchmarks . list ( ) ; 
2929    const  rawResponse  =  await  responsePromise . asResponse ( ) ; 
3030    expect ( rawResponse ) . toBeInstanceOf ( Response ) ; 
3131    const  response  =  await  responsePromise ; 
@@ -37,13 +37,13 @@ describe('resource benchmarks', () => {
3737
3838  test ( 'list: request options instead of params are passed correctly' ,  async  ( )  =>  { 
3939    // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error 
40-     await  expect ( client . benchmarks . list ( {  path : '/_stainless_unknown_path'  } ) ) . rejects . toThrow ( 
40+     await  expect ( client . alpha . benchmarks . list ( {  path : '/_stainless_unknown_path'  } ) ) . rejects . toThrow ( 
4141      LlamaStackClient . NotFoundError , 
4242    ) ; 
4343  } ) ; 
4444
4545  test ( 'register: only required params' ,  async  ( )  =>  { 
46-     const  responsePromise  =  client . benchmarks . register ( { 
46+     const  responsePromise  =  client . alpha . benchmarks . register ( { 
4747      benchmark_id : 'benchmark_id' , 
4848      dataset_id : 'dataset_id' , 
4949      scoring_functions : [ 'string' ] , 
@@ -58,7 +58,7 @@ describe('resource benchmarks', () => {
5858  } ) ; 
5959
6060  test ( 'register: required and optional params' ,  async  ( )  =>  { 
61-     const  response  =  await  client . benchmarks . register ( { 
61+     const  response  =  await  client . alpha . benchmarks . register ( { 
6262      benchmark_id : 'benchmark_id' , 
6363      dataset_id : 'dataset_id' , 
6464      scoring_functions : [ 'string' ] , 
0 commit comments