




max_tokens on runWithTools?FILE_PARSE_ERROR: 'file' should be of valid safetensors type [code: 1000], quiting...npx wrangler ai finetune create @cf/mistral/mistral-7b-instruct-v0.2-lora warp-finetune-mistral folder_location--- 2024-07-03T18:20:15.757Z debug
🪵 Writing logs to "/Users/agdfdf/.wrangler/logs/wrangler-2024-07-03_18-20-15_678.log"
---
--- 2024-07-03T18:20:15.757Z debug
Failed to load .env file ".env": Error: ENOENT: no such file or directory, open '.env'
at Object.openSync (node:fs:582:18)
at Object.readFileSync (node:fs:461:35)
at tryLoadDotEnv (/Users/ad/node_modules/wrangler/wrangler-dist/cli.js:159106:72)
at loadDotEnv (/Users/ad/node_modules/wrangler/wrangler-dist/cli.js:159115:12)
at Array.reduce (<anonymous>) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '.env'
}
---
--- 2024-07-03T18:20:15.764Z debug
Retrieving cached values for account from ../../../node_modules/.cache/wrangler
---
--- 2024-07-03T18:20:15.764Z log
🌀 Creating new finetune "warp-mistral-new" for model "@cf/mistral/mistral-7b-instruct-v0.2-lora"...
---
--- 2024-07-03T18:20:15.765Z debug
-- START CF API REQUEST: POST https://api.cloudflare.com/client/v4/accounts/<account_id_masqueraded>/ai/finetunes
---
--- 2024-07-03T18:20:15.765Z debug
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data
---
--- 2024-07-03T18:20:15.765Z debug
INIT: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data
---
--- 2024-07-03T18:20:15.765Z debug
-- END CF API REQUEST
---
--- 2024-07-03T18:20:17.189Z debug
-- START CF API RESPONSE: Bad Request 400
---
--- 2024-07-03T18:20:17.190Z debug
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data
---
--- 2024-07-03T18:20:17.190Z debug
RESPONSE: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data
---
--- 2024-07-03T18:20:17.190Z debug
-- END CF API RESPONSE
---
--- 2024-07-03T18:20:17.229Z error
✘ [ERROR] 🚨 Finetune couldn't be created: A request to the Cloudflare API (/accounts/<account_id_masqueraded>/ai/finetunes) failed. FINETUNE_EXISTS_ERROR: finetune with the name 'warp-mistral-new' already exists [code: 1000]max_tokensrunWithTools