microsoft / TaskWeaver

A code-first agent framework for seamlessly planning and executing data analytics tasks.
https://microsoft.github.io/TaskWeaver/
MIT License
5.38k stars 689 forks source link

No memory using only code_interperter (without planner) #344

Closed gerglitzen closed 6 months ago

gerglitzen commented 6 months ago

I'm using

  "execution_service.kernel_mode": "local",
  "session.roles": ["code_interpreter"]

I face into the problem, that in this way, the app do not has memory. I looked back the log files, and I found that the prompts are extended with my questions, but with the app's answer no. image (There are just user messages but assistant answer is missing

For example, I ask which day is today, and than ask back. I tried both from UI both from code using as a library: UI

Am I missing something from the config file, or how can I solve this?

liqul commented 6 months ago

You are right and I think this is caused by a bug. Will fix it.