@@ -19,7 +19,6 @@ eachModel('$modelName', ({ model }) => {
1919 task : async ( input : string ) => {
2020 const client = await initializeClient ( /* Pass necessary mocks/config */ )
2121 const { promptOutput, toolCalls } = await runTask ( client , model , input )
22- console . log ( 'Creating kv namespace' , JSON . stringify ( toolCalls , null , 2 ) )
2322 const toolCall = toolCalls . find (
2423 ( call ) => call . toolName === KV_NAMESPACE_TOOLS . kv_namespace_create
2524 )
@@ -41,7 +40,6 @@ eachModel('$modelName', ({ model }) => {
4140 task : async ( input : string ) => {
4241 const client = await initializeClient ( /* Pass necessary mocks/config */ )
4342 const { promptOutput, toolCalls } = await runTask ( client , model , input )
44- console . log ( 'Listing kv namespaces' , JSON . stringify ( toolCalls , null , 2 ) )
4543 const toolCall = toolCalls . find (
4644 ( call ) => call . toolName === KV_NAMESPACE_TOOLS . kv_namespaces_list
4745 )
@@ -57,14 +55,13 @@ eachModel('$modelName', ({ model }) => {
5755 data : async ( ) => [
5856 {
5957 input :
60- 'Rename my Cloudflare KV Namespace called "my-test-namespace" to "my-new-test-namespace". Assume the namespace exists. No need to look it up .' ,
58+ 'Rename my Cloudflare KV Namespace with ID 1234 to "my-new-test-namespace".' ,
6159 expected : `The ${ KV_NAMESPACE_TOOLS . kv_namespace_update } tool should be called to rename the kv namespace.` ,
6260 } ,
6361 ] ,
6462 task : async ( input : string ) => {
6563 const client = await initializeClient ( /* Pass necessary mocks/config */ )
6664 const { promptOutput, toolCalls } = await runTask ( client , model , input )
67- console . log ( 'Renaming kv namespace' , JSON . stringify ( toolCalls , null , 2 ) )
6865 const toolCall = toolCalls . find (
6966 ( call ) => call . toolName === KV_NAMESPACE_TOOLS . kv_namespace_update
7067 )
@@ -79,14 +76,13 @@ eachModel('$modelName', ({ model }) => {
7976 describeEval ( 'Get Cloudflare KV Namespace Details' , {
8077 data : async ( ) => [
8178 {
82- input : 'Get details of my Cloudflare KV Namespace called "my-new-test-namespace" .' ,
79+ input : 'Get details of my Cloudflare KV Namespace with ID 1234 .' ,
8380 expected : `The ${ KV_NAMESPACE_TOOLS . kv_namespace_get } tool should be called to retrieve the details of the kv namespace.` ,
8481 } ,
8582 ] ,
8683 task : async ( input : string ) => {
8784 const client = await initializeClient ( /* Pass necessary mocks/config */ )
8885 const { promptOutput, toolCalls } = await runTask ( client , model , input )
89- console . log ( 'Getting kv namespace details' , JSON . stringify ( toolCalls , null , 2 ) )
9086 const toolCall = toolCalls . find (
9187 ( call ) => call . toolName === KV_NAMESPACE_TOOLS . kv_namespace_get
9288 )
@@ -101,7 +97,7 @@ eachModel('$modelName', ({ model }) => {
10197 describeEval ( 'Delete Cloudflare KV Namespace' , {
10298 data : async ( ) => [
10399 {
104- input : 'Delete the "my-new-test-namespace" kv namespace.' ,
100+ input : 'Delete the kv namespace with ID 1234 .' ,
105101 expected : `The ${ KV_NAMESPACE_TOOLS . kv_namespace_delete } tool should be called to delete the kv namespace.` ,
106102 } ,
107103 ] ,
0 commit comments