Skip to content

[Bug Report]: Can only query a session in memory #750

@ulivz

Description

@ulivz

Version

0.1.11

Issue Type

  • Select a issue type 👇
  • Agent TARS Web UI (@agent-tars/web-ui)
  • Agent TARS CLI (@agent-tars/server)
  • Agent TARS Server (@agent-tars/server)
  • Agent TARS (@agent-tars/core)
  • MCP Agent (@mcp-agent/core)
  • Agent Kernel (@multimodal/agent)
  • Other (please specify in description)

Model Provider

  • Select a model provider 👇
  • Volcengine
  • Anthropic
  • OpenAI
  • Azure OpenAI
  • Other (please specify in description)

Problem Description

Step to reporduce

  1. Start Agent TARS Server
  2. Create a seesion
curl --location --request POST 'http://localhost:8888/api/sessions/create'
{
    "sessionId": "7oydcIJGJQcvaGdjbAQHz"
}
  1. Query task
curl --location 'http://localhost:8888/api/sessions/query/stream' \
--header 'Content-Type: application/json' \
--data '{
	"sessionId": "7oydcIJGJQcvaGdjbAQHz",
	"query": "Search the GUI Agent paper"
}'
  1. Close server and relaunch it
  2. Query this task again
{"error":"Session not found"

Error Logs

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions