common/ai/models/threadsmodel library