studio: keep each chat's sampling params and system prompt with the chat (#9055)