Explosion-Scratch/claude-unofficial-api

[help] how to summary with attach files ,use --files ,i did but it refused

Closed this issue · 4 comments

image

➜  ~ cat file1.txt
History
Originally published by Continuum,[3] the series was founded by editor David Barker in 2003.[1] At the time, Continuum published a series of short books on literature called Continuum Contemporaries. One-time series editor Ally-Jane Grossan mentioned that Barker was "an obsessive music fan who thought, 'This is a really cool idea, why don't we apply this to albums'.[3] PopMatters wrote that the range consists of "obscure classics to more usual suspects by the Beach Boys, the Beatles, and the Rolling Stones".[1]

In 2010, Continuum was bought out by Bloomsbury Publishing, which continues to publish the series.[3] Following a leave, Barker was replaced by Grossan in January 2013.[2] Leah Babb-Rosenfeld has been the editor of the series since 2016.[4]

Several independent books have been spun off of the series. The first, Carl Wilson's 2007 entry on Celine Dion's Let's Talk About Love, was expanded for a 2014 Bloomsbury reissue with material not specifically pertaining to the Dion album and retitled Let's Talk About Love: Why Other People Have Such Bad Taste. Joe Bonomo, at the invitation of Barker, expanded his 33+1⁄3 proposal on Jerry Lee Lewis's Live at the Star Club, Hamburg album into a full-length book about Lewis, the album, and his career titled Jerry Lee Lewis: Lost and Found, published by Continuum in 2009. A rejected proposal from writer Brett Milano for an entry on Game Theory's 1987 album Lolita Nation was instead expanded by Milano into a biography on the band's leader Scott Miller; that project, titled Don't All Thank Me at Once: The Lost Genius of Scott Miller, was released by 125 Books in 2015.[5]

In August 2017, Bloomsbury announced the launch of 33+1⁄3 Global,[6] an extension of the 33+1⁄3 series to popular music from around the world. The first two sub-series launched were 33+1⁄3 Brazil, edited by Jason Stanyek, and 33+1⁄3 Japan, edited by Noriko Manabe.[7] The first book for 33+1⁄3 Brazil was Caetano Veloso's A Foreign Sound by Barbara Browning.[8] The first books for 33+1⁄3 Japan were Supercell ft. Hatsune Miku by Keisuke Yamada and Yoko Kanno's Cowboy Bebop Soundtrack by Rose Bridges.[9]
➜  ~ claude --files file1.txt
Welcome to the Claude CLI!
? Select a conversation: Start new conversation
? (claude-2) > summary into english from the file file1.txt
Asking claude
11:43:28 - (claude-2)

Unfortunately I do not have access to read any files. However, I can summarize information if you provide it to me directly.

"It seems Claude is unable to read the contents of the file."

Same problem here

I figured how to summarize the attached file. You need to use square brackets to wrap the file name as in #10. Also make sure your node is the latest version that supports File object

Node.js v20.5.0. is ok, worked.
but Node.js v18.17.0 , not worked,
i have fixed it ! thank you

v20.5.0
find some in [file1.txt]