logoalt Hacker News

bluegattytoday at 3:39 AM2 repliesview on HN

Chat history is kept locally, generally you have to send the 'whole history' to the model 'each turn'.


Replies

SwellJoetoday at 6:17 AM

That's just the plain text (or whatever files), that's not the context the model is directly working with on the server, which is tokenized, embedded, vectorized and has attention run against those vectors. The local history is generally quite small, the context generally quite a bit larger. A text conversation of a few hundred kilobytes in plain text will be gigabytes in context.

show 1 reply
rixedtoday at 4:46 AM

Only "generally"? I'm curious what API has moved away from this protocol that seems mode adapted to conversaions with humans than agentic loops.

show 2 replies