Response with relevant artifacts between different messages within the same chat session

Tuong Vu
2026-03-31T10:59:12Z

The artifacts are not clear between different "tasks".

Example 1: Perform a metamodel generation then asked for a modification. Conversation history:
- Please generate a metamodel of a simple library management system with two main concepts: Library and Book. Each Library has a name (String) and contains a collection of Books (containment reference). Each Book has a title (String).
- Add an "isbn" attribute in Book with type String.

Example 2: If you chat with swe-agent first, then chat with metamodel agents in the same thread, you will see the second chat response contains the script from the first chat. Or it could happened when you ask the mini-swe-agent to modify different files in the same code base. Conversation history:
- Write a python script to print Hello World
- Thanks
- Change the string to Hola
- Please generate a metamodel of a simple library management system with two main concepts: Library and Book. Each Library has a name (String) and contains a collection of Books (containment reference). Each Book has a title (String).

Notes:
- The artifact of Python script is in the "User Requirements" section of the replies. This was from filtered messages of all user messages + artifacts.
- Solution can be to make messages include only artifacts that have been modified since the last message. Have some kinds of artifact management or filter.