@base44-preview/sdk 0.8.57-pr.360.71a2580 → 0.8.57-pr.361.dda0ab9
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.
|
@@ -202,15 +202,15 @@ export interface AgentsModuleConfig {
|
|
|
202
202
|
*/
|
|
203
203
|
export interface AgentsModule {
|
|
204
204
|
/**
|
|
205
|
-
* Gets
|
|
205
|
+
* Gets the current user's conversations with all agents in the app.
|
|
206
206
|
*
|
|
207
|
-
* Retrieves all
|
|
207
|
+
* Retrieves every conversation the current user started, across all agents. Conversations that other users started aren't included. Use {@linkcode listConversations | listConversations()} to filter which conversations are returned, apply sorting, or paginate results. Use {@linkcode getConversation | getConversation()} to retrieve a specific conversation by ID.
|
|
208
208
|
*
|
|
209
209
|
* @returns Promise resolving to an array of conversations.
|
|
210
210
|
*
|
|
211
211
|
* @example
|
|
212
212
|
* ```typescript
|
|
213
|
-
* // Get
|
|
213
|
+
* // Get the current user's conversations
|
|
214
214
|
* const conversations = await base44.agents.getConversations();
|
|
215
215
|
* console.log(`Total conversations: ${conversations.length}`);
|
|
216
216
|
* ```
|
|
@@ -223,7 +223,7 @@ export interface AgentsModule {
|
|
|
223
223
|
* Gets a specific conversation by ID.
|
|
224
224
|
*
|
|
225
225
|
* Retrieves a single conversation using its unique identifier. To retrieve
|
|
226
|
-
* all conversations, use {@linkcode getConversations | getConversations()}. To filter, sort, or paginate conversations, use {@linkcode listConversations | listConversations()}.
|
|
226
|
+
* all of the current user's conversations, use {@linkcode getConversations | getConversations()}. To filter, sort, or paginate conversations, use {@linkcode listConversations | listConversations()}.
|
|
227
227
|
*
|
|
228
228
|
* This function returns the complete stored conversation including full tool call results, even for large responses.
|
|
229
229
|
*
|
|
@@ -246,7 +246,7 @@ export interface AgentsModule {
|
|
|
246
246
|
/**
|
|
247
247
|
* Lists conversations with filtering, sorting, and pagination.
|
|
248
248
|
*
|
|
249
|
-
* Provides querying capabilities including filtering by fields, sorting, pagination, and field selection. For cases where you need all conversations without filtering, use {@linkcode getConversations | getConversations()}. To retrieve a specific conversation by ID, use {@linkcode getConversation | getConversation()}.
|
|
249
|
+
* Provides querying capabilities including filtering by fields, sorting, pagination, and field selection. For cases where you need all of the current user's conversations without filtering, use {@linkcode getConversations | getConversations()}. To retrieve a specific conversation by ID, use {@linkcode getConversation | getConversation()}.
|
|
250
250
|
*
|
|
251
251
|
* @param filterParams - Filter parameters for querying conversations.
|
|
252
252
|
* @returns Promise resolving to an array of filtered conversations.
|