logoalt Hacker News

nomeltoday at 12:02 AM1 replyview on HN

Nice. Does it use a summarization, or a hard cutoff?


Replies

ttkciartoday at 1:08 AM

llama.cpp uses a hard cutoff. The agent then does "something" that is specific to the agent's implementation and configuration. It might summarize and then "finish the thought" with a different model, and then resubmit the prompt to the llama.cpp API endpoint with <think>..</think> prefilled. The primary model then infers the remainder of the reply.