Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/agents/custom-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ Let's illustrate the power of custom agents with an example pattern: a multi-sta
3. Store the sub-agents (passed in or created internally) as instance properties (e.g., `this.storyGenerator`) so they can be accessed in the custom `runImpl` logic.

```typescript
--8<-- "examples/typescript/snippets/agents/cutsom-agent/storyflow_agent.ts:init"
--8<-- "examples/typescript/snippets/agents/custom-agent/storyflow_agent.ts:init"
```

=== "Go"
Expand Down Expand Up @@ -295,7 +295,7 @@ Let's illustrate the power of custom agents with an example pattern: a multi-sta
The `runImpl` method orchestrates the sub-agents using standard TypeScript `async`/`await` and control flow. The `runLiveImpl` is also added to handle live streaming scenarios.

```typescript
--8<-- "examples/typescript/snippets/agents/cutsom-agent/storyflow_agent.ts:executionlogic"
--8<-- "examples/typescript/snippets/agents/custom-agent/storyflow_agent.ts:executionlogic"
```
**Explanation of Logic:**

Expand Down Expand Up @@ -351,7 +351,7 @@ These are standard `LlmAgent` definitions, responsible for specific tasks. Their
=== "TypeScript"

```typescript
--8<-- "examples/typescript/snippets/agents/cutsom-agent/storyflow_agent.ts:llmagents"
--8<-- "examples/typescript/snippets/agents/custom-agent/storyflow_agent.ts:llmagents"
```

=== "Go"
Expand Down Expand Up @@ -381,7 +381,7 @@ Finally, you instantiate your `StoryFlowAgent` and use the `Runner` as usual.
=== "TypeScript"

```typescript
--8<-- "examples/typescript/snippets/agents/cutsom-agent/storyflow_agent.ts:story_flow_agent"
--8<-- "examples/typescript/snippets/agents/custom-agent/storyflow_agent.ts:story_flow_agent"
```

=== "Go"
Expand Down Expand Up @@ -415,7 +415,7 @@ Finally, you instantiate your `StoryFlowAgent` and use the `Runner` as usual.

```typescript
# Full runnable code for the StoryFlowAgent example
--8<-- "examples/typescript/snippets/agents/cutsom-agent/storyflow_agent.ts"
--8<-- "examples/typescript/snippets/agents/custom-agent/storyflow_agent.ts"
```

=== "Go"
Expand Down
2 changes: 1 addition & 1 deletion docs/agents/multi-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -1720,7 +1720,7 @@ A conceptual example of using a `CustomPolicyEngine` to require user confirmatio
});
```

You can find the full code sample [here](../../examples/typescript/snippets/agents/workflow-agents/hitl_confirmation_agent.ts).
You can find the full code sample [here](https://github.com/google/adk-docs/blob/main/examples/typescript/snippets/agents/workflow-agents/hitl_confirmation_agent.ts).

### Combining Patterns

Expand Down
4 changes: 2 additions & 2 deletions docs/get-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ agent will be unable to function.
![adk-api-server.png](../assets/adk-api-server.png)

To learn how to use `api_server` for testing, refer to the
[documentation on testing](testing.md).
[documentation on testing](/adk-docs/runtime/api-server/).

=== "Java"

Expand Down Expand Up @@ -620,4 +620,4 @@ You've successfully created and interacted with your first agent using ADK!
section for deeper dives into project structure, configuration, and other
interfaces.
* **Understand Core Concepts:** Learn about
[agents concepts](../agents/index.md).
[agents concepts](../agents/index.md).
Loading