News for hackers. Stuff that matters.
Re:Claude 3.7 Sonnet and Claude Code by rvnx on Tuesday February 25, 2025 @02:11PM (#43176004)
I have a very long request to do like this, did you use a specific CLI tool ? (Thank you in advance)
Re:Claude 3.7 Sonnet and Claude Code by simonw on Tuesday February 25, 2025 @03:03PM (#43176599)
I used my own CLI tool LLM, which can handle these long requests in streaming mode (Anthropic won't let you do a non-streaming request for long output replies like this).

  uv tool install llm
  llm install llm-anthropic
  llm keys set anthropic
  # paste in API key
  llm -m claude-3.7-sonnet -o thinking 1 'your prompt goes here'
Re:Claude 3.7 Sonnet and Claude Code by rvnx on Tuesday February 25, 2025 @04:21PM (#43177581)
Thank you very much