thepipe icon indicating copy to clipboard operation
thepipe copied to clipboard

TypeError: scrape_file() got an unexpected keyword argument 'ai_extraction'

Open gilbrotheraway opened this issue 6 months ago • 2 comments

gilbrotheraway avatar May 22 '25 17:05 gilbrotheraway

that's trying to use the cli

gilbrotheraway avatar May 22 '25 17:05 gilbrotheraway

Hi @Fuckingnameless , thanks for pointing this issue out. This should be fixed as of commit #8ee1174

New usage is as follows:

Basic usage: scrape a file, directory, or URL

thepipe [options]

AI scraping options

--openai-api-key=KEY To enable VLM scraping, pass in your OpenAI API key --openai-model=MODEL Model to use for scraping (default is DEFAULT_AI_MODEL, currently gpt-4o) --openai-base-url=URL Custom LLM endpoint, for local LLMs or hosted APIs like OpenRouter (default: https://api.openai.com/v1) --ai_extraction ⚠️ DEPRECATED; will get API key from OPENAI_API_KEY environment variable

emcf avatar May 25 '25 19:05 emcf