mikeee 在 貌似geminicli2api,有佬友知道怎么跑这个repo? 中发帖
试过 npm add google/gemini-cli@latest && npm intall (原package.json里的gemini-cli “^0.1.2” 跑不通)
npx tsc && node dist/server.js 或 npx ts-node src/server.ts 都跑不起来,貌似esm啥的。看 https://www.reddit.com/r/SillyTavernAI/comments/1lko5kx/geminicli_proxy/ 里面的评论应该是可以跑起来的