github VoltAgent/voltagent @voltagent/supabase@0.1.9

Patch Changes

  • #215 f2f4539 Thanks @Ajay-Satish-01! - This release introduces powerful new methods for managing conversations with user-specific access control and improved developer experience.

    Simple Usage Example

    // Get all conversations for a user
    const conversations = await storage.getUserConversations("user-123").limit(10).execute();
    
    console.log(conversations);
    
    // Get first conversation and its messages
    const conversation = conversations[0];
    if (conversation) {
      const messages = await storage.getConversationMessages(conversation.id);
      console.log(messages);
    }

    Pagination Support

    // Get paginated conversations
    const result = await storage.getPaginatedUserConversations("user-123", 1, 20);
    console.log(result.conversations); // Array of conversations
    console.log(result.hasMore); // Boolean indicating if more pages exist
  • Updated dependencies [f2f4539, 0eba8a2]:

    • @voltagent/core@0.1.32

Don't miss a new voltagent release

NewReleases is sending notifications on new releases.