docs: add url based instructions to web docs (#7216)
This commit is contained in:
parent
a44d4acb3f
commit
e342795bd0
1 changed files with 11 additions and 0 deletions
|
|
@ -92,6 +92,17 @@ Example:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can also use remote URLs to load instructions from the web.
|
||||||
|
|
||||||
|
```json title="opencode.json"
|
||||||
|
{
|
||||||
|
"$schema": "https://opencode.ai/config.json",
|
||||||
|
"instructions": ["https://raw.githubusercontent.com/my-org/shared-rules/main/style.md"]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Remote instructions are fetched with a 5 second timeout.
|
||||||
|
|
||||||
All instruction files are combined with your `AGENTS.md` files.
|
All instruction files are combined with your `AGENTS.md` files.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue