Skip to content

Commit 5e8f439

Browse files
authored
Update filename numbering to match quickstarts/ on dapr-agents (#5143)
Signed-off-by: Sergio Herrera <627709+seherv@users.noreply.github.com>
1 parent 20a036a commit 5e8f439

2 files changed

Lines changed: 13 additions & 12 deletions

File tree

daprdocs/content/en/developing-ai/dapr-agents/dapr-agents-getting-started.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Dapr also supports Anthropic, Mistral, and other providers through the [Conversa
145145

146146
## Prepare your environment
147147

148-
In this getting started guide, you'll work directly from the [Dapr Agents quickstarts](https://github.com/dapr/dapr-agents/tree/main/quickstarts). You'll focus on `02_durable_agent_http.py`—a reliable durable agent backed by Dapr's workflow engine and exposed over HTTP.
148+
In this getting started guide, you'll work directly from the [Dapr Agents quickstarts](https://github.com/dapr/dapr-agents/tree/main/quickstarts). You'll focus on `03_durable_agent_http.py`—a reliable durable agent backed by Dapr's workflow engine and exposed over HTTP.
149149

150150
### 1. Clone the repository
151151

@@ -179,14 +179,14 @@ This example creates an agent that assists with weather information and uses Dap
179179

180180
For this quickstart you'll primarily work with:
181181

182-
* `02_durable_agent_http.py` – the main durable weather agent application exposed over HTTP
182+
* `03_durable_agent_http.py` – the main durable weather agent application exposed over HTTP
183183
* `function_tools.py` – contains `slow_weather_func`, the tool used by the agent
184184
* `resources/llm-provider.yaml` – Conversation API and LLM configuration
185185
* `resources/agent-memory.yaml` – conversation memory state store
186186
* `resources/agent-workflow.yaml` – workflow and durable execution state store
187187

188188

189-
Open `02_durable_agent_http.py`:
189+
Open `03_durable_agent_http.py`:
190190

191191
```python
192192
from dapr_agents.llm import DaprChatClient
@@ -347,13 +347,13 @@ Together, these features make the agent **durable**, **reliable**, and **provide
347347
From the `quickstarts` folder, with your virtual environment activated:
348348

349349
```bash
350-
uv run dapr run --app-id durable-agent --resources-path resources -- python 02_durable_agent_http.py
350+
uv run dapr run --app-id durable-agent --resources-path resources -- python 03_durable_agent_http.py
351351
```
352352

353353
This:
354354

355355
* Starts a Dapr sidecar using the components in `resources/`.
356-
* Runs `02_durable_agent_http.py` with the durable `WeatherAgent`.
356+
* Runs `03_durable_agent_http.py` with the durable `WeatherAgent`.
357357
* Exposes the agent's HTTP API on port `8001`.
358358

359359
### Trigger the agent with a prompt
@@ -407,7 +407,7 @@ To see durable execution in action:
407407
Start it again with the same command:
408408

409409
```bash
410-
uv run dapr run --app-id durable-agent --resources-path resources -- python 02_durable_agent_http.py
410+
uv run dapr run --app-id durable-agent --resources-path resources -- python 03_durable_agent_http.py
411411
```
412412

413413
4. **Query the same workflow**

daprdocs/content/en/developing-ai/dapr-agents/dapr-agents-quickstarts.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ The [Dapr Agents Fundamentals quickstart](https://github.com/dapr/dapr-agents/tr
2424
| Step | File | What You'll Learn |
2525
|------|------|-------------------|
2626
| 1 | [`01_llm_client.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/01_llm_client.py) | Call an LLM via the Dapr Conversation API using `DaprChatClient` |
27-
| 2 | [`02_durable_agent_http.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/02_durable_agent_http.py) | Run a durable agent backed by Dapr Workflows, exposed over HTTP |
28-
| 3 | [`03_durable_agent_pubsub.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/03_durable_agent_pubsub.py) | Trigger a durable agent via pub/sub instead of HTTP |
29-
| 4 | [`04_workflow_llm.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/04_workflow_llm.py) | Build a deterministic Dapr Workflow that calls LLMs as activities |
30-
| 5 | [`05_workflow_agents.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/05_workflow_agents.py) | Orchestrate multiple specialized agents as child workflows |
31-
| 6 | [`06_durable_agent_tracing.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/06_durable_agent_tracing.py) | Enable distributed tracing for agents and workflows with Zipkin |
32-
| 7 | [`07_durable_agent_hot_reload.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/07_durable_agent_hot_reload.py) | Hot-reload agent configuration at runtime via Dapr Configuration Store |
27+
| 2 | [`02_durable_agent_workflow.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/02_durable_agent_workflow.py) | Run a durable agent triggered programmatically via the Dapr Workflow API, using `trigger_agent` from client code or `call_agent` from within another orchestrator |
28+
| 3 | [`03_durable_agent_http.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/03_durable_agent_http.py) | Run a durable agent backed by Dapr Workflows, exposed over HTTP |
29+
| 4 | [`04_durable_agent_pubsub.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/04_durable_agent_pubsub.py) | Trigger a durable agent via pub/sub instead of HTTP |
30+
| 5 | [`05_workflow_llm.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/05_workflow_llm.py) | Build a deterministic Dapr Workflow that calls LLMs as activities |
31+
| 6 | [`06_workflow_agents.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/06_workflow_agents.py) | Orchestrate multiple specialized agents as child workflows |
32+
| 7 | [`07_durable_agent_tracing.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/07_durable_agent_tracing.py) | Enable distributed tracing for agents and workflows with Zipkin |
33+
| 8 | [`08_durable_agent_hot_reload.py`](https://github.com/dapr/dapr-agents/blob/main/quickstarts/08_durable_agent_hot_reload.py) | Hot-reload agent configuration at runtime via Dapr Configuration Store |
3334

3435
See the [quickstarts README](https://github.com/dapr/dapr-agents/tree/main/quickstarts#readme) for full setup instructions including LLM configuration and prerequisites.
3536

0 commit comments

Comments
 (0)