diff --git a/package.json b/package.json index 323d233b..8546dfd8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@ainft-team/ainft-js", "main": "dist/ainft.js", "types": "dist/ainft.d.ts", - "version": "2.1.1", + "version": "2.1.2", "engines": { "node": ">=16" }, diff --git a/src/ai/thread.ts b/src/ai/thread.ts index 450d1867..8844e174 100644 --- a/src/ai/thread.ts +++ b/src/ai/thread.ts @@ -316,6 +316,7 @@ export class Threads extends FactoryBase { id: assistant.id, objectId, tokenId, + owner: token.owner, model: assistant.config.model, name: assistant.config.name, instructions: assistant.config.instructions,