Skip to content

Commit d51cec0

Browse files
committed
Release 0.1.5
1 parent 99254bc commit d51cec0

File tree

56 files changed

+346
-388
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+346
-388
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@letta-ai/letta-client",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"private": false,
55
"repository": "https://github.com/letta-ai/letta-node",
66
"main": "./index.js",

reference.md

Lines changed: 79 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,85 +1831,6 @@ await client.agents.getAgentMemoryBlocks("agent_id");
18311831
</dl>
18321832
</details>
18331833

1834-
<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">createAgentMessageAsync</a>(agentId, { ...params }) -> Letta.Job</code></summary>
1835-
<dl>
1836-
<dd>
1837-
1838-
#### 📝 Description
1839-
1840-
<dl>
1841-
<dd>
1842-
1843-
<dl>
1844-
<dd>
1845-
1846-
Asynchronously process a user message and return a job ID.
1847-
The actual processing happens in the background, and the status can be checked using the job ID.
1848-
1849-
</dd>
1850-
</dl>
1851-
</dd>
1852-
</dl>
1853-
1854-
#### 🔌 Usage
1855-
1856-
<dl>
1857-
<dd>
1858-
1859-
<dl>
1860-
<dd>
1861-
1862-
```typescript
1863-
await client.agents.createAgentMessageAsync("agent_id", {
1864-
messages: [
1865-
{
1866-
role: "user",
1867-
text: "text",
1868-
},
1869-
],
1870-
});
1871-
```
1872-
1873-
</dd>
1874-
</dl>
1875-
</dd>
1876-
</dl>
1877-
1878-
#### ⚙️ Parameters
1879-
1880-
<dl>
1881-
<dd>
1882-
1883-
<dl>
1884-
<dd>
1885-
1886-
**agentId:** `string`
1887-
1888-
</dd>
1889-
</dl>
1890-
1891-
<dl>
1892-
<dd>
1893-
1894-
**request:** `Letta.LettaRequest`
1895-
1896-
</dd>
1897-
</dl>
1898-
1899-
<dl>
1900-
<dd>
1901-
1902-
**requestOptions:** `Agents.RequestOptions`
1903-
1904-
</dd>
1905-
</dl>
1906-
</dd>
1907-
</dl>
1908-
1909-
</dd>
1910-
</dl>
1911-
</details>
1912-
19131834
<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">searchdeployedagents</a>({ ...params }) -> void</code></summary>
19141835
<dl>
19151836
<dd>
@@ -4230,6 +4151,85 @@ for await (const item of response) {
42304151
</dl>
42314152
</details>
42324153

4154+
<details><summary><code>client.agents.messages.<a href="/src/api/resources/agents/resources/messages/client/Client.ts">createAsync</a>(agentId, { ...params }) -> Letta.Job</code></summary>
4155+
<dl>
4156+
<dd>
4157+
4158+
#### 📝 Description
4159+
4160+
<dl>
4161+
<dd>
4162+
4163+
<dl>
4164+
<dd>
4165+
4166+
Asynchronously process a user message and return a job ID.
4167+
The actual processing happens in the background, and the status can be checked using the job ID.
4168+
4169+
</dd>
4170+
</dl>
4171+
</dd>
4172+
</dl>
4173+
4174+
#### 🔌 Usage
4175+
4176+
<dl>
4177+
<dd>
4178+
4179+
<dl>
4180+
<dd>
4181+
4182+
```typescript
4183+
await client.agents.messages.createAsync("agent_id", {
4184+
messages: [
4185+
{
4186+
role: "user",
4187+
text: "text",
4188+
},
4189+
],
4190+
});
4191+
```
4192+
4193+
</dd>
4194+
</dl>
4195+
</dd>
4196+
</dl>
4197+
4198+
#### ⚙️ Parameters
4199+
4200+
<dl>
4201+
<dd>
4202+
4203+
<dl>
4204+
<dd>
4205+
4206+
**agentId:** `string`
4207+
4208+
</dd>
4209+
</dl>
4210+
4211+
<dl>
4212+
<dd>
4213+
4214+
**request:** `Letta.LettaRequest`
4215+
4216+
</dd>
4217+
</dl>
4218+
4219+
<dl>
4220+
<dd>
4221+
4222+
**requestOptions:** `Messages.RequestOptions`
4223+
4224+
</dd>
4225+
</dl>
4226+
</dd>
4227+
</dl>
4228+
4229+
</dd>
4230+
</dl>
4231+
</details>
4232+
42334233
## Agents Memory Messages
42344234

42354235
<details><summary><code>client.agents.memory.messages.<a href="/src/api/resources/agents/resources/memory/resources/messages/client/Client.ts">listInContext</a>(agentId) -> Letta.LettaSchemasMessageMessage[]</code></summary>

0 commit comments

Comments
 (0)