Skip to content

Commit

Permalink
Release 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jan 9, 2025
1 parent 99254bc commit d51cec0
Show file tree
Hide file tree
Showing 56 changed files with 346 additions and 388 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@letta-ai/letta-client",
"version": "0.1.4",
"version": "0.1.5",
"private": false,
"repository": "https://github.com/letta-ai/letta-node",
"main": "./index.js",
Expand Down
158 changes: 79 additions & 79 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1831,85 +1831,6 @@ await client.agents.getAgentMemoryBlocks("agent_id");
</dl>
</details>

<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">createAgentMessageAsync</a>(agentId, { ...params }) -> Letta.Job</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Asynchronously process a user message and return a job ID.
The actual processing happens in the background, and the status can be checked using the job ID.

</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.agents.createAgentMessageAsync("agent_id", {
messages: [
{
role: "user",
text: "text",
},
],
});
```

</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**agentId:** `string`

</dd>
</dl>

<dl>
<dd>

**request:** `Letta.LettaRequest`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Agents.RequestOptions`

</dd>
</dl>
</dd>
</dl>

</dd>
</dl>
</details>

<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">searchdeployedagents</a>({ ...params }) -> void</code></summary>
<dl>
<dd>
Expand Down Expand Up @@ -4230,6 +4151,85 @@ for await (const item of response) {
</dl>
</details>

<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>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Asynchronously process a user message and return a job ID.
The actual processing happens in the background, and the status can be checked using the job ID.

</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.agents.messages.createAsync("agent_id", {
messages: [
{
role: "user",
text: "text",
},
],
});
```

</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**agentId:** `string`

</dd>
</dl>

<dl>
<dd>

**request:** `Letta.LettaRequest`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Messages.RequestOptions`

</dd>
</dl>
</dd>
</dl>

</dd>
</dl>
</details>

## Agents Memory Messages

<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>
Expand Down
Loading

0 comments on commit d51cec0

Please sign in to comment.