@applica-software-guru/persona-sdk 0.1.85 → 0.1.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -251,13 +251,7 @@ import { PersonaRuntimeProvider, InMemoryMessageStorage } from '@applica-softwar
251
251
 
252
252
  const storage = new InMemoryMessageStorage();
253
253
 
254
- <PersonaRuntimeProvider
255
- apiKey="your-api-key"
256
- agentId="your-agent-id"
257
- protocols={{ rest: true }}
258
- enableThreads={true}
259
- messageStorage={storage}
260
- >
254
+ <PersonaRuntimeProvider apiKey="your-api-key" agentId="your-agent-id" protocols={{ rest: true }} threads={true} messageStorage={storage}>
261
255
  {/* Your app */}
262
256
  </PersonaRuntimeProvider>;
263
257
  ```
@@ -271,13 +265,7 @@ import { PersonaRuntimeProvider, LocalStorageMessageStorage } from '@applica-sof
271
265
 
272
266
  const storage = new LocalStorageMessageStorage('my_app_messages_');
273
267
 
274
- <PersonaRuntimeProvider
275
- apiKey="your-api-key"
276
- agentId="your-agent-id"
277
- protocols={{ rest: true }}
278
- enableThreads={true}
279
- messageStorage={storage}
280
- >
268
+ <PersonaRuntimeProvider apiKey="your-api-key" agentId="your-agent-id" protocols={{ rest: true }} threads={true} messageStorage={storage}>
281
269
  {/* Your app */}
282
270
  </PersonaRuntimeProvider>;
283
271
  ```
@@ -331,7 +319,7 @@ const customStorage = new CustomMessageStorage();
331
319
 
332
320
  ### How It Works
333
321
 
334
- When thread management is enabled (`enableThreads={true}`):
322
+ When thread management is enabled (`threads={true}`):
335
323
 
336
324
  - Each thread has its own session ID
337
325
  - Messages are automatically saved to storage when updated