mirror of
https://github.com/strands-agents/harness-sdk.git
synced 2026-10-02 02:44:48 +08:00
docs(harness): update default model (#4661)
This commit is contained in:
@@ -71,7 +71,7 @@ yourself and pass it. Strands harness uses it as-is:
|
||||
from strands.models import BedrockModel
|
||||
from strands_harness import create_harness
|
||||
|
||||
model = BedrockModel(model_id="global.anthropic.claude-opus-4-8", region_name="us-west-2")
|
||||
model = BedrockModel(model_id="global.anthropic.claude-opus-5", region_name="us-west-2")
|
||||
agent = create_harness(model=model)
|
||||
```
|
||||
</Tab>
|
||||
@@ -80,7 +80,7 @@ yourself and pass it. Strands harness uses it as-is:
|
||||
import { BedrockModel } from '@strands-agents/sdk'
|
||||
import { createHarness } from '@strands-agents/harness'
|
||||
|
||||
const model = new BedrockModel({ modelId: 'global.anthropic.claude-opus-4-8' })
|
||||
const model = new BedrockModel({ modelId: 'global.anthropic.claude-opus-5' })
|
||||
const agent = await createHarness({ model })
|
||||
```
|
||||
</Tab>
|
||||
@@ -105,14 +105,14 @@ it once regardless of provider:
|
||||
```python
|
||||
from strands_harness import create_harness
|
||||
|
||||
agent = create_harness(model="anthropic/claude-opus-4-8", effort="high")
|
||||
agent = create_harness(model="anthropic/claude-opus-5", effort="high")
|
||||
```
|
||||
</Tab>
|
||||
<Tab label="TypeScript">
|
||||
```typescript
|
||||
import { createHarness } from '@strands-agents/harness'
|
||||
|
||||
const agent = await createHarness({ model: 'anthropic/claude-opus-4-8', effort: 'high' })
|
||||
const agent = await createHarness({ model: 'anthropic/claude-opus-5', effort: 'high' })
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
@@ -114,7 +114,7 @@ Strands harness can search the web, compare what it finds, and save the results
|
||||
|
||||
<Tabs>
|
||||
<Tab label="Amazon Bedrock">
|
||||
Bedrock is the default, using Claude Opus 4.8 in the region your AWS configuration selects.
|
||||
Bedrock is the default, using Claude Opus 5 in the region your AWS configuration selects.
|
||||
|
||||
<Tabs>
|
||||
<Tab label="Python">
|
||||
|
||||
@@ -18,7 +18,7 @@ option is used in practice, follow the links into the configure and tools guides
|
||||
|
||||
| Python | TypeScript | Default | Purpose |
|
||||
|---|---|---|---|
|
||||
| `model` | `model` | `bedrock/global.anthropic.claude-opus-4-8` | A `provider/name` string, a bare Amazon Bedrock id, or a `Model` instance. See [choose a model](../../configure/model/). |
|
||||
| `model` | `model` | `bedrock/global.anthropic.claude-opus-5` | A `provider/name` string, a bare Amazon Bedrock id, or a `Model` instance. See [choose a model](../../configure/model/). |
|
||||
| `effort` | `effort` | `"auto"` | Reasoning effort: `"auto"`, `"low"`, `"medium"`, `"high"`, or off. Ignored for a `Model` instance. |
|
||||
| `instructions` | `instructions` | none | A domain block appended after the harness contract. Ignored when a full system prompt is passed. |
|
||||
| `tools` | `tools` | none | Consumer tools, added alongside the built-ins. See [add tools](../../configure/tools-and-instructions/). |
|
||||
|
||||
Reference in New Issue
Block a user