-
I am using llama-server and I found it stored the chat history, Where does llama-server store it's chat history? |
Beta Was this translation helpful? Give feedback.
Answered by
danbev
Jan 31, 2025
Replies: 1 comment 1 reply
-
The chat history is stored in the browsers > console.table(localStorage) This will show the contents of the localStorage and then you can inspect the converations that are currently stored which have a These conversations can then be inspected further using something like: > const data = JSON.parse(localStorage.getItem("conv-1738335678752"))
> data.id
'conv-1738335678752'
> data.messages[0]
{id: 1738335693132, role: 'user', content: 'What is the capital of Sweden?'}
> data.messages[1]
{id: 1738335693135, role: 'assistant', content: 'The capital of Sweden is Stockholm.'} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
BVEsun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The chat history is stored in the browsers
localStorage
. This can be accessed by using the browsers console:> console.table(localStorage)
This will show the contents of the localStorage and then you can inspect the converations that are currently stored which have a
conv-
prefix.These conversations can then be inspected further using something like: