Vortex

A finished run stays in order

0.2.0-beta.119

A finished agent run could look like it had stopped in the middle. The answer was stored above the message that started it, because a few tool results failed to save while the database was busy and a later save put your prompt after the whole run.

Fixed

  • Saving a tool result waits for the database instead of dropping the row when another write is in progress.
  • If the transcript still cannot be saved, the run stops and says so, instead of continuing with a hole.
  • The message that started a run is stored when the run starts, so it stays above the answer.
  • A later save of the chat no longer moves rows that are already stored, and it no longer keeps a second copy of a tool result the run already saved.
  • Chats already stored in that broken order are put back in time order the next time Vortex opens.