Skip to content

Commit 1f2c3b9

Browse files
authored
Fix lychee link errors (#309)
Update lychee configuration to match latest CLI behavior (they recently updated things a bit which broke our workflows) & update links that were incorrect (lychee was helping!) I think before this, it wasn't correctly parsing our files' relative links, leading to lychee not catching things that it should. --------- Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com>
1 parent 524026d commit 1f2c3b9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/build-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
id: lychee
4242
uses: lycheeverse/lychee-action@v2
4343
with:
44-
args: "--base ${{ github.workspace }} --cache --max-cache-age 1d ."
44+
args: "--cache --max-cache-age 1d 'docs/**/*.md'"

docs/user-guide/concepts/agents/session-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A session represents all of the stateful information that is needed by an agent
1212

1313
Strands provides built-in session persistence capabilities that automatically capture and restore this information, allowing agents to seamlessly continue conversations where they left off.
1414

15-
Beyond the built-in options, [third-party session managers](./#third-party-session-managers) provide additional storage and memory capabilities.
15+
Beyond the built-in options, [third-party session managers](#third-party-session-managers) provide additional storage and memory capabilities.
1616

1717
## Basic Usage
1818

docs/user-guide/concepts/experimental/agent-config.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ agent = config_to_agent("file:///path/to/config.json")
6161

6262
### Supported Keys
6363

64-
- `model`: Model identifier (string) - [[Only supports AWS Bedrock model provider string](../../../quickstart/#using-a-string-model-id)]
64+
- `model`: Model identifier (string) - [[Only supports AWS Bedrock model provider string](../../quickstart.md#using-a-string-model-id)]
6565
- `prompt`: System prompt for the agent (string)
6666
- `tools`: List of tool specifications (list of strings)
6767
- `name`: Agent name (string)
@@ -102,7 +102,7 @@ The Agent class handles all tool loading internally, including:
102102

103103
### Model Configurations
104104

105-
The `model` property uses the [string based model id feature](../../../quickstart/#using-a-string-model-id). You can reference [AWS's Model Id's](https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-support.html) to identify a model id to use. If you want to use a different model provider, you can pass in a model as part of the `**kwargs` of the `config_to_agent` function:
105+
The `model` property uses the [string based model id feature](../../quickstart.md#using-a-string-model-id). You can reference [AWS's Model Id's](https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-support.html) to identify a model id to use. If you want to use a different model provider, you can pass in a model as part of the `**kwargs` of the `config_to_agent` function:
106106

107107
```python
108108
from strands.experimental import config_to_agent
@@ -144,7 +144,7 @@ agent.model = OpenAIModel(
144144
The `config_to_agent` function accepts:
145145

146146
- `config`: Either a file path (string) or configuration dictionary
147-
- `**kwargs`: Additional [Agent constructor parameters](../../../../api-reference/agent/#strands.agent.agent.Agent.__init__) that override config values
147+
- `**kwargs`: Additional [Agent constructor parameters](../../../api-reference/agent.md#strands.agent.agent.Agent.__init__) that override config values
148148

149149
```python
150150
# Override config values with valid Agent parameters

docs/user-guide/concepts/streaming/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ All streaming methods yield the same set of events:
3131
- `toolUseId`: Unique ID for this tool use
3232
- `name`: Name of the tool
3333
- `input`: Tool input parameters (accumulated as streaming occurs)
34-
- `tool_stream_event`: Information about [an event streamed from a tool](../../tools/python-tools/#tool-streaming), including:
35-
- `tool_use`: The [`ToolUse`](../../../api-reference/types#strands.types.tools.ToolUse) for the tool that streamed the event
34+
- `tool_stream_event`: Information about [an event streamed from a tool](../tools/python-tools.md#tool-streaming), including:
35+
- `tool_use`: The [`ToolUse`](../../../api-reference/types.md#strands.types.tools.ToolUse) for the tool that streamed the event
3636
- `data`: The data streamed from the tool
3737

3838
### Reasoning Events

0 commit comments

Comments
 (0)