import Honcho from '@honcho-ai/core';const client = new Honcho({ apiKey: 'My API Key',});// Automatically fetches more pages as needed.for await (const message of client.workspaces.peers.search('workspace_id', 'peer_id', { query: 'query' })) { console.log(message.id);}
import Honcho from '@honcho-ai/core';const client = new Honcho({ apiKey: 'My API Key',});// Automatically fetches more pages as needed.for await (const message of client.workspaces.peers.search('workspace_id', 'peer_id', { query: 'query' })) { console.log(message.id);}