A React Native app for the ultimate thinking partner.

fix(api): use client.agents.retrieve instead of get for single agent fetch (favorites sidebar)

+2 -1
+2 -1
src/api/lettaApi.ts
··· 116 116 throw new Error('Client not initialized. Please set auth token first.'); 117 117 } 118 118 119 - const response = await this.client.agents.get(agentId); 119 + // SDK uses `retrieve` for fetching a single agent 120 + const response = await this.client.agents.retrieve(agentId); 120 121 return response; 121 122 } catch (error) { 122 123 throw this.handleError(error);