Skip to content
Open
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
2 changes: 1 addition & 1 deletion nexus-sdk/guides/dag-construction.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,5 @@ For working examples, see the following files in the `cli/src/dag/_dags` directo
- `ig_story_planner_valid.json`: Example of a complex workflow
- `entry_groups_valid.json`: Example of using entry groups.

For examples of invalid DAGs and common mistakes to avoid (especially regarding Rule 5 - Race Conditions), see the diagrams in [workflow documentation](../../nexus-next/packages/workflow.md) and the `*_invalid.json` files in the [testing DAG directory](https://github.com/Talus-Network/nexus-sdk/tree/v0.8.4/sdk/src/dag/_dags).
For examples of invalid DAGs and common mistakes to avoid (especially regarding Rule 5 - Race Conditions), see the diagrams in [workflow documentation](../../nexus-next/packages/workflow.md) and the `*_invalid.json` files in the [testing DAG directory](https://github.com/Talus-Network/nexus-sdk/tree/v1.0.0/sdk/src/dag/_dags).

4 changes: 2 additions & 2 deletions nexus-sdk/guides/math-branching-with-chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ We can no longer assign outputs to be on the math tools because they now have ou
"outputs": [
{
"vertex": "chat_completion",
"output_variant": "ok",
"output_variant": "text",
"output_port": "completion"
}
]
Expand Down Expand Up @@ -556,7 +556,7 @@ Here's the complete DAG definition that combines all the components we've discus
"outputs": [
{
"vertex": "chat_completion",
"output_variant": "ok",
"output_variant": "text",
"output_port": "completion"
}
]
Expand Down
6 changes: 3 additions & 3 deletions nexus-sdk/guides/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ To install directly from the source using `cargo`, run:
```bash
cargo install nexus-cli \
--git https://github.com/talus-network/nexus-sdk \
--tag v0.8.4 \
--tag v1.0.0 \
--locked
```

Expand All @@ -54,15 +54,15 @@ nexus --version
{% tab title="Testnet" %}

```bash
wget -O ~/.nexus/objects.testnet.toml https://storage.googleapis.com/production-talus-sui-objects/v0.8.4/objects.testnet.toml
wget -O ~/.nexus/objects.testnet.toml https://storage.googleapis.com/production-talus-sui-objects/v1.0.0/objects.testnet.toml
```

{% endtab %}

{% tab title="Mainnet" %}

```bash
wget -O ~/.nexus/objects.mainnet.toml https://storage.googleapis.com/production-talus-sui-objects/v0.8.4/objects.mainnet.toml
wget -O ~/.nexus/objects.mainnet.toml https://storage.googleapis.com/production-talus-sui-objects/v1.0.0/objects.mainnet.toml
```

{% endtab %}
Expand Down
4 changes: 4 additions & 0 deletions nexus-sdk/tool-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ These guidelines are not meant to be technical specifications but rather a set o
- ✅: `err`, `err_http`
- ❌: `error`, `failure`, `http_exception`

### Erroneous Output Variants

While not strictly required, it's a best practice to create a separate output variant for errors. Any output variant with the `err` prefix is treated as erroneous and handled differently by Nexus. Specifically, all ports in an error variant are automatically passed on-chain, regardless of whether edges or outputs are defined in the DAG.

## Interface Design

### ... should be as generic as possible
Expand Down
2 changes: 1 addition & 1 deletion nexus-sdk/toolkit-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Alternatively, you can add the following to your `Cargo.toml` file:
```toml
[dependencies.nexus-toolkit]
git = "https://github.com/Talus-Network/nexus-sdk"
tag = "v0.8.4"
tag = "v1.0.0"
package = "nexus-toolkit"
```

Expand Down