Closed Propheticus closed 5 months ago
I just tested this on MacOS Desktop:
First I asked about Date in Austin Texas
Then I created a new thread and asked for climate info but I didn't mentioned the location
Model used is - ollama:llama3:8b-instruct-q8_0 I ran the Desktop app on the debug mode and this is what I got on terminal
[AgentHandler] Start ba98fc9b-88cd-44fb-8d4e-d65260ec4223::ollama:llama3:8b-instruct-q8_0
[TELEMETRY SENT] {
event: 'agent_chat_started',
distinctId: 'eb81c08d-5e69-4d74-ad8c-01028ee8a5eb',
properties: { runtime: 'desktop' }
}
[AgentHandler] Attached websocket plugin to Agent cluster
[AgentHandler] Attached chat-history plugin to Agent cluster
[AgentHandler] Attaching user and default agent to Agent cluster.
[AgentHandler] Attached rag-memory plugin to Agent cluster
[AgentHandler] Attached document-summarizer plugin to Agent cluster
[AgentHandler] Attached web-scraping plugin to Agent cluster
[AgentHandler] Attached web-browsing plugin to Agent cluster
[AgentLLM - llama3:8b-instruct-q8_0] Valid tool call found - running web-browsing.
[AgentHandler] [debug]: @agent is attempting to call `web-browsing` tool
[AgentLLM - llama3:8b-instruct-q8_0] Function tool with exact arguments has already been called this stack.
[AgentLLM - llama3:8b-instruct-q8_0] Will assume chat completion without tool call inputs.
[TELEMETRY SENT] {
event: 'agent_chat_sent',
distinctId: 'eb81c08d-5e69-4d74-ad8c-01028ee8a5eb',
properties: { runtime: 'desktop' }
}
[TELEMETRY SENT] {
event: 'workspace_thread_created',
distinctId: 'eb81c08d-5e69-4d74-ad8c-01028ee8a5eb',
properties: {
multiUserMode: false,
LLMSelection: 'groq',
Embedder: 'ollama',
VectorDbSelection: 'lancedb',
runtime: 'desktop'
}
}
[Event Logged] - workspace_thread_created
[AgentHandler] End ba98fc9b-88cd-44fb-8d4e-d65260ec4223::ollama:llama3:8b-instruct-q8_0
[TELEMETRY SENT] {
event: 'sent_chat',
distinctId: 'eb81c08d-5e69-4d74-ad8c-01028ee8a5eb',
properties: {
multiUserMode: false,
LLMSelection: 'groq',
Embedder: 'ollama',
VectorDbSelection: 'lancedb',
runtime: 'desktop'
}
}
[Event Logged] - sent_chat
[AgentHandler] Start a7b2104a-6c90-4bb4-9a8d-19e57e178899::ollama:llama3:8b-instruct-q8_0
[TELEMETRY SENT] {
event: 'agent_chat_started',
distinctId: 'eb81c08d-5e69-4d74-ad8c-01028ee8a5eb',
properties: { runtime: 'desktop' }
}
[AgentHandler] Attached websocket plugin to Agent cluster
[AgentHandler] Attached chat-history plugin to Agent cluster
[AgentHandler] Attaching user and default agent to Agent cluster.
[AgentHandler] Attached rag-memory plugin to Agent cluster
[AgentHandler] Attached document-summarizer plugin to Agent cluster
[AgentHandler] Attached web-scraping plugin to Agent cluster
[AgentHandler] Attached web-browsing plugin to Agent cluster
[AgentLLM - llama3:8b-instruct-q8_0] Valid tool call found - running web-browsing.
[AgentHandler] [debug]: @agent is attempting to call `web-browsing` tool
[AgentLLM - llama3:8b-instruct-q8_0] Function tool with exact arguments has already been called this stack.
[AgentLLM - llama3:8b-instruct-q8_0] Will assume chat completion without tool call inputs.
[TELEMETRY SENT] {
event: 'agent_chat_sent',
distinctId: 'eb81c08d-5e69-4d74-ad8c-01028ee8a5eb',
properties: { runtime: 'desktop' }
}
[AgentHandler] End a7b2104a-6c90-4bb4-9a8d-19e57e178899::ollama:llama3:8b-instruct-q8_0 ```
Think this might be desktop
only. Cannot replicate on docker version but i bet this is because the state does not refresh on desktop since we prevent reloads when navigating between threads for UX. Let me look there
Confirmed, it is just desktop. In fact, if you go to the new thread and send the chat, it even appears in the first thread as a historical message.
Confirmed, it is just desktop. In fact, if you go to the new thread and send the chat, it even appears in the first thread as a historical message.
I'm running docker. And I did not see that behaviour of addition to the first thread.
I'll check on Edge to see if it's browser specific. I'm using Firefox. Edit: yup, also happens in Edge.
@Propheticus are you saying this same bug occurs in docker as well? I just tested that and could not replicate
@timothycarambat I am saying I found this bug while using Docker, yes.
That was quick.
it was a simple typo I overlooked :)
Will be in next desktop release but should be live in docker once build is complete. Thanks for pointing this out, it actually lead to an overall improvement in the desktop client as well that was not even related.
Cool. Glad it helped. Please also see my commenting on Discord and Bug reporting here as trying to help perfect a very nice tool. Thanks for making this and sharing it with the community!
it was a simple typo I overlooked :)
Will be in next desktop release but should be live in docker once build is complete. Thanks for pointing this out, it actually lead to an overall improvement in the desktop client as well that was not even related.
Confirmed resolved in latest pull of Docker image.
How are you running AnythingLLM?
Docker (local)
What happened?
The Agent query and response history from the 'default' thread spill over into newly created threads.
Steps:
Default thread:
New thread:
logs of first message in new thread look normal:
The first agent call does not
Are there known steps to reproduce?
No response